HttpWebRequest Properties
The properties of the HttpWebRequest class are listed here. For a complete list of HttpWebRequest class members, see the HttpWebRequest Members topic.
Public Properties
Accept Supported by the .NET Compact Framework. | Gets or sets the value of the Accept HTTP header. |
Address Supported by the .NET Compact Framework. | Gets the URI of the Internet resource that actually responds to the request. |
AllowAutoRedirect Supported by the .NET Compact Framework. | Gets or sets a value that indicates whether the request should follow redirection responses. |
AllowWriteStreamBuffering Supported by the .NET Compact Framework. | Gets or sets a value that indicates whether to buffer the data sent to the Internet resource. |
ClientCertificates | Gets the collection of security certificates associated with this request. |
Connection Supported by the .NET Compact Framework. | Gets or sets the value of the Connection HTTP header. |
ConnectionGroupName Supported by the .NET Compact Framework. | Overridden. Gets or sets the name of the connection group for the request. |
ContentLength Supported by the .NET Compact Framework. | Overridden. Gets or sets the Content-length HTTP header. |
ContentType Supported by the .NET Compact Framework. | Overridden. Gets or sets the value of the Content-type HTTP header. |
ContinueDelegate Supported by the .NET Compact Framework. | Gets or sets the delegate method called when an HTTP 100-continue response is received from the Internet resource. |
CookieContainer | Gets or sets the cookies associated with the request. |
Credentials Supported by the .NET Compact Framework. | Overridden. Provides authentication information for the request. |
![]() DefaultMaximumResponseHeadersLength | Gets or sets the default for the MaximumResponseHeadersLength property. |
Expect Supported by the .NET Compact Framework. | Gets or sets the value of the Expect HTTP header. |
HaveResponse Supported by the .NET Compact Framework. | Gets a value indicating whether a response has been received from an Internet resource. |
Headers Supported by the .NET Compact Framework. | Overridden. Gets a collection of the name/value pairs that make up the HTTP headers. |
IfModifiedSince Supported by the .NET Compact Framework. | Gets or sets the value of the If-Modified-Since HTTP header. |
KeepAlive Supported by the .NET Compact Framework. | Gets or sets a value indicating whether to make a persistent connection to the Internet resource. |
MaximumAutomaticRedirections Supported by the .NET Compact Framework. | Gets or sets the maximum number of redirects that the request will follow. |
MaximumResponseHeadersLength | Gets or sets the maximum allowed length of the response headers. |
MediaType Supported by the .NET Compact Framework. | Gets or sets the media type of the request. |
Method Supported by the .NET Compact Framework. | Overridden. Gets or sets the method for the request. |
Pipelined Supported by the .NET Compact Framework. | Gets or sets a value indicating whether to pipeline the request to the Internet resource. |
PreAuthenticate Supported by the .NET Compact Framework. | Overridden. Gets or sets a value indicating whether to send a authenticate header with the request. |
ProtocolVersion Supported by the .NET Compact Framework. | Gets or sets the version of HTTP to use for the request. |
Proxy Supported by the .NET Compact Framework. | Overridden. Gets or sets proxy information for the request. |
ReadWriteTimeout | |
Referer Supported by the .NET Compact Framework. | Gets or sets the value of the Referer HTTP header. |
RequestUri Supported by the .NET Compact Framework. | Overridden. Gets the original URI of the request. |
SendChunked Supported by the .NET Compact Framework. | Gets or sets a value indicating whether to send data in segments to the Internet resource. |
ServicePoint Supported by the .NET Compact Framework. | Gets the service point to use for the request. |
Timeout Supported by the .NET Compact Framework. | Overridden. Gets or sets the time-out value for a request. |
TransferEncoding Supported by the .NET Compact Framework. | Gets or sets the value of the Transfer-encoding HTTP header. |
UnsafeAuthenticatedConnectionSharing | Gets or sets a value indicating whether to allow NTLM-authenticated connection sharing. |
UserAgent Supported by the .NET Compact Framework. | Gets or sets the value of the User-agent HTTP header. |
