Share via


WebResponse Members

The following tables list the members exposed by the WebResponse type.

Protected Constructors

Name Description
Protected Method WebResponse Initializes a new instance of the WebResponse class.

Public Properties

Name Description
Public Property ContentLength When overridden in a descendant class, gets or sets the content length of data being received.
Public Property ContentType When overridden in a derived class, gets or sets the content type of the data being received.
Public Property Headers When overridden in a derived class, gets a collection of header name-value pairs associated with this request.
Public Property ResponseUri When overridden in a derived class, gets the URI of the Internet resource that actually responded to the request.

Public Methods

Name Description
Public Method Close When overridden by a descendant class, closes the response stream.
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetResponseStream When overridden in a descendant class, returns the data stream from the Internet resource.
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method MemberwiseClone (Inherited from Object.)

Explicit Interface Implementations

Name Description
Explicit Interface ImplementationMethod System.IDisposable.Dispose Disposes of the WebResponse instance.

See Also

Reference

WebResponse Class
System.Net Namespace