System.Net.WebResponse: Method Members

The methods of System.Net.WebResponse are listed below. For a list of all members, see the WebResponse Members list.

See Also: Inherited members from System.MarshalByRefObject

Public Methods

Close()

When overridden by a descendant class, closes the response stream.

Dispose()

Releases the unmanaged resources used by the System.Net.WebResponse object.

GetResponseStream() : System.IO.Stream

When overridden in a descendant class, returns the data stream from the Internet resource.

Protected Methods

Dispose(bool)

Releases the unmanaged resources used by the System.Net.WebResponse object, and optionally disposes of the managed resources.

GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Populates a System.Runtime.Serialization.SerializationInfo with the data that is needed to serialize the target object.