HttpWebResponse Properties
.NET Framework 4.5
The HttpWebResponse type exposes the following members.
| 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 | Gets the length of the content returned by the request. (Overrides WebResponse.ContentLength.) |
|
ContentType | Gets the content type of the response. (Overrides WebResponse.ContentType.) |
|
Cookies | Gets or sets the cookies that are associated with this response. |
|
Headers | Gets the headers that are associated with this response from the server. (Overrides WebResponse.Headers.) |
|
IsFromCache | Gets a Boolean value that indicates whether this response was obtained from the cache. (Inherited from WebResponse.) |
|
IsMutuallyAuthenticated | Gets a Boolean value that indicates whether both client and server were authenticated. (Overrides WebResponse.IsMutuallyAuthenticated.) |
|
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 | Gets the URI of the Internet resource that responded to the request. (Overrides WebResponse.ResponseUri.) |
|
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. |
|
SupportsHeaders | Gets a value that indicates if headers are supported. (Overrides WebResponse.SupportsHeaders.) |