WebResponse.GetResponseStream Method
Silverlight
When overridden in a descendant class, returns the data stream from the Internet resource.
Namespace: System.Net
Assembly: System.Net (in System.Net.dll)
Return Value
Type: System.IO.StreamAn instance of the Stream class for reading data from the Internet resource.
| Exception | Condition |
|---|---|
| NotSupportedException | Any attempt is made to access the method, when the method is not overridden in a descendant class. |
The GetResponseStream method returns the data stream from the Internet resource.
Note: |
|---|
The response stream must be closed to avoid running out of system resources. The response stream can be closed by calling Stream.Close or Close |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Note: