Mono Class Library: System.Net.HttpWebResponse Overview | MembersSystem.Net.HttpWebResponse.GetResponseStream Method |
Returns a System.IO.Stream for reading the body of the response from the server. [Edit]
|
A System.IO.Stream containing the body of the response. [Edit]
Type Reason ObjectDisposedException The current instance has been disposed. [Edit]
The HttpWebResponse.GetResponseStream method returns the data stream from the requested Internet resource.
Note:[Edit]Call either the System.IO.Stream.Close or HttpWebResponse.Close method to close the stream and release the connection for reuse. It is not necessary to call both System.IO.Stream.Close and HttpWebResponse.Close , but doing so does not cause an error. Failure to close the stream might cause an application to run out of connections.
This method overrides WebResponse.GetResponseStream .
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0