HttpWebResponse Members
.NET Framework 2.0
Provides an HTTP-specific implementation of the WebResponse class.
The following tables list the members exposed by the HttpWebResponse type.
| Name | Description | |
|---|---|---|
| HttpWebResponse | Initializes a new instance of the HttpWebResponse class from the specified SerializationInfo and StreamingContext instances. |
| Name | Description | |
|---|---|---|
| CharacterSet | Gets the character set of the response. |
| ContentEncoding | Gets the method that is used to encode the body of the response. |
| ContentLength | Overridden. Gets the length of the content returned by the request. |
| ContentType | Overridden. Gets the content type of the response. |
| Cookies | Gets or sets the cookies that are associated with this response. |
| Headers | Overridden. Gets the headers that are associated with this response from the server. |
| IsFromCache | Gets a Boolean value that indicates whether this response was obtained from the cache.(Inherited from WebResponse.) |
| IsMutuallyAuthenticated | Overridden. Gets a Boolean value that indicates whether both client and server were authenticated. |
| LastModified | Gets the last date and time that the contents of the response were modified. |
| Method | Gets the method that is used to return the response. |
| ProtocolVersion | Gets the version of the HTTP protocol that is used in the response. |
| ResponseUri | Overridden. Gets the URI of the Internet resource that responded to the request. |
| Server | Gets the name of the server that sent the response. |
| StatusCode | Gets the status of the response. |
| StatusDescription | Gets the status description returned with the response. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Close | Overridden. Closes the response stream. |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
| GetResponseHeader | Gets the contents of a header that was returned with the response. |
| GetResponseStream | Overridden. Gets the stream that is used to read the body of the response from the server. |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Dispose | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| GetObjectData | Overridden. Populates a SerializationInfo with the data needed to serialize the target object. |
| MemberwiseClone | Overloaded. (Inherited from MarshalByRefObject.) |
| Name | Description | |
|---|---|---|
| System.IDisposable.Dispose | |
| System.Runtime.Serialization.ISerializable.GetObjectData | Serializes this instance into the specified SerializationInfo object. |