HttpWebRequest Properties
.NET Framework 3.0
| Name | Description | |
|---|---|---|
| Accept | Gets or sets the value of the Accept HTTP header. |
| Address | Gets the Uniform Resource Identifier (URI) of the Internet resource that actually responds to the request. |
| AllowAutoRedirect | Gets or sets a value that indicates whether the request should follow redirection responses. |
| AllowWriteStreamBuffering | Gets or sets a value that indicates whether to buffer the data sent to the Internet resource. |
| AuthenticationLevel | Gets or sets values indicating the level of authentication and impersonation used for this request. (inherited from WebRequest) |
| AutomaticDecompression | Gets or sets the type of decompression that is used. |
| CachePolicy | Gets or sets the cache policy for this request. (inherited from WebRequest) |
| ClientCertificates | Gets or sets the collection of security certificates that are associated with this request. |
| Connection | Gets or sets the value of the Connection HTTP header. |
| ConnectionGroupName | Overridden. Gets or sets the name of the connection group for the request. |
| ContentLength | Overridden. Gets or sets the Content-length HTTP header. |
| ContentType | Overridden. Gets or sets the value of the Content-type HTTP header. |
| ContinueDelegate | 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 | Overridden. Gets or sets authentication information for the request. |
| DefaultCachePolicy | Gets or sets the default cache policy for this request. |
| DefaultMaximumErrorResponseLength | Gets or sets the default maximum length of an HTTP error response. |
| DefaultMaximumResponseHeadersLength | Gets or sets the default for the MaximumResponseHeadersLength property. |
| DefaultWebProxy | Gets or sets the global HTTP proxy. (inherited from WebRequest) |
| Expect | Gets or sets the value of the Expect HTTP header. |
| HaveResponse | Gets a value that indicates whether a response has been received from an Internet resource. |
| Headers | Overridden. Specifies a collection of the name/value pairs that make up the HTTP headers. |
| IfModifiedSince | Gets or sets the value of the If-Modified-Since HTTP header. |
| ImpersonationLevel | Gets or sets the impersonation level for the current request. (inherited from WebRequest) |
| KeepAlive | Gets or sets a value that indicates whether to make a persistent connection to the Internet resource. |
| MaximumAutomaticRedirections | Gets or sets the maximum number of redirects that the request follows. |
| MaximumResponseHeadersLength | Gets or sets the maximum allowed length of the response headers. |
| MediaType | Gets or sets the media type of the request. |
| Method | Overridden. Gets or sets the method for the request. |
| Pipelined | Gets or sets a value that indicates whether to pipeline the request to the Internet resource. |
| PreAuthenticate | Overridden. Gets or sets a value that indicates whether to send an authenticate header with the request. |
| ProtocolVersion | Gets or sets the version of HTTP to use for the request. |
| Proxy | Overridden. Gets or sets proxy information for the request. |
| ReadWriteTimeout | Gets or sets a time-out in milliseconds when writing to or reading from a stream. |
| Referer | Gets or sets the value of the Referer HTTP header. |
| RequestUri | Overridden. Gets the original Uniform Resource Identifier (URI) of the request. |
| SendChunked | Gets or sets a value that indicates whether to send data in segments to the Internet resource. |
| ServicePoint | Gets the service point to use for the request. |
| Timeout | Overridden. Gets or sets the time-out value in milliseconds for the GetResponse and GetRequestStream methods. |
| TransferEncoding | Gets or sets the value of the Transfer-encoding HTTP header. |
| UnsafeAuthenticatedConnectionSharing | Gets or sets a value that indicates whether to allow high-speed NTLM-authenticated connection sharing. |
| UseDefaultCredentials | Overridden. Gets or sets a Boolean value that controls whether default credentials are sent with requests. |
| UserAgent | Gets or sets the value of the User-agent HTTP header. |
Reference
HttpWebRequest ClassSystem.Net Namespace