HttpWebRequest Properties
Assembly: System (in System.dll)
| 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. |
![]() | AllowReadStreamBuffering | Gets or sets a value that indicates whether to buffer the received from the Internet resource. |
![]() | 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 | Gets or sets the name of the connection group for the request.(Overrides WebRequest.ConnectionGroupName.) |
![]() | ContentLength | Gets or sets the Content-length HTTP header.(Overrides WebRequest.ContentLength.) |
![]() | ContentType | Gets or sets the value of the Content-type HTTP header.(Overrides WebRequest.ContentType.) |
![]() | ContinueDelegate | Gets or sets the delegate method called when an HTTP 100-continue response is received from the Internet resource. |
![]() | ContinueTimeout | Gets or sets a timeout, in milliseconds, to wait until the 100-Continue is received from the server. |
![]() | CookieContainer | Gets or sets the cookies associated with the request. |
![]() | CreatorInstance | Obsolete. When overridden in a descendant class, gets the factory object derived from the IWebRequestCreate class used to create the WebRequest instantiated for making the request to the specified URI.(Inherited from WebRequest.) |
![]() | Credentials | Gets or sets authentication information for the request.(Overrides WebRequest.Credentials.) |
![]() | Date | Get or set the Date HTTP header value to use in an HTTP 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. |
![]() | 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 | Specifies a collection of the name/value pairs that make up the HTTP headers.(Overrides WebRequest.Headers.) |
![]() | Host | Get or set the Host header value to use in an HTTP request independent from the request URI. |
![]() | 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 | Gets or sets the method for the request.(Overrides WebRequest.Method.) |
![]() | Pipelined | Gets or sets a value that indicates whether to pipeline the request to the Internet resource. |
![]() | PreAuthenticate | Gets or sets a value that indicates whether to send an Authorization header with the request.(Overrides WebRequest.PreAuthenticate.) |
![]() | ProtocolVersion | Gets or sets the version of HTTP to use for the request. |
![]() | Proxy | Gets or sets proxy information for the request.(Overrides WebRequest.Proxy.) |
![]() | 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 | Gets the original Uniform Resource Identifier (URI) of the request.(Overrides WebRequest.RequestUri.) |
![]() | SendChunked | Gets or sets a value that indicates whether to send data in segments to the Internet resource. |
![]() | ServerCertificateValidationCallback | Gets or sets a callback function to validate the server certificate. |
![]() | ServicePoint | Gets the service point to use for the request. |
![]() | SupportsCookieContainer | Gets a value that indicates whether the request provides support for a CookieContainer. |
![]() | Timeout | Gets or sets the time-out value in milliseconds for the GetResponse and GetRequestStream methods.(Overrides WebRequest.Timeout.) |
![]() | 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 | Gets or sets a Boolean value that controls whether default credentials are sent with requests.(Overrides WebRequest.UseDefaultCredentials.) |
![]() | UserAgent | Gets or sets the value of the User-agent HTTP header. |

