how to get stream after posting with webClient class
<p>I post to a site using webclient. i use cookiecontainer for holding cookie. I am trying to get stream after posting. and display content to web browser control using stream.</p>

<p>here are my code to get stream, but it gives error. Please guide me where i am wrong.</p>

<p>Error  1   <strong>'ExtendedWebClient.GetResponseStream()': no suitable method found to override D:\Project\WorkingCopy\WindowsFormsApplication1\WindowsFormsApplication1\ExtendedWebClient.cs   96  32  WindowsFormsApplication1</strong></p>

<pre><code>public override Stream GetResponseStream()
        {
            var httpWebResponse = _response as HttpWebResponse;
            if (null != httpWebResponse)
            {
                return httpWebResponse.GetCompressedResponseStream();
            }
            else
            {
                return _response.GetResponseStream();
            }
        }
</code></pre>