HttpWebRequest Properties

HttpWebRequest Properties

 

Namespace:   System.Net
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubpropertyAccept

Gets or sets the value of the Accept HTTP header.

System_CAPS_pubpropertyAddress

Gets the Uniform Resource Identifier (URI) of the Internet resource that actually responds to the request.

System_CAPS_pubpropertyAllowAutoRedirect

Gets or sets a value that indicates whether the request should follow redirection responses.

System_CAPS_pubpropertyAllowReadStreamBuffering

Gets or sets a value that indicates whether to buffer the received from the Internet resource.

System_CAPS_pubpropertyAllowWriteStreamBuffering

Gets or sets a value that indicates whether to buffer the data sent to the Internet resource.

System_CAPS_pubpropertyAuthenticationLevel

Gets or sets values indicating the level of authentication and impersonation used for this request.(Inherited from WebRequest.)

System_CAPS_pubpropertyAutomaticDecompression

Gets or sets the type of decompression that is used.

System_CAPS_pubpropertyCachePolicy

Gets or sets the cache policy for this request.(Inherited from WebRequest.)

System_CAPS_pubpropertyClientCertificates

Gets or sets the collection of security certificates that are associated with this request.

System_CAPS_pubpropertyConnection

Gets or sets the value of the Connection HTTP header.

System_CAPS_pubpropertyConnectionGroupName

Gets or sets the name of the connection group for the request.(Overrides WebRequest.ConnectionGroupName.)

System_CAPS_pubpropertyContentLength

Gets or sets the Content-length HTTP header.(Overrides WebRequest.ContentLength.)

System_CAPS_pubpropertyContentType

Gets or sets the value of the Content-type HTTP header.(Overrides WebRequest.ContentType.)

System_CAPS_pubpropertyContinueDelegate

Gets or sets the delegate method called when an HTTP 100-continue response is received from the Internet resource.

System_CAPS_pubpropertyContinueTimeout

Gets or sets a timeout, in milliseconds, to wait until the 100-Continue is received from the server.

System_CAPS_pubpropertyCookieContainer

Gets or sets the cookies associated with the request.

System_CAPS_pubpropertyCreatorInstance

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.)

System_CAPS_pubpropertyCredentials

Gets or sets authentication information for the request.(Overrides WebRequest.Credentials.)

System_CAPS_pubpropertyDate

Get or set the Date HTTP header value to use in an HTTP request.

System_CAPS_pubpropertySystem_CAPS_staticDefaultCachePolicy

Gets or sets the default cache policy for this request.

System_CAPS_pubpropertySystem_CAPS_staticDefaultMaximumErrorResponseLength

Gets or sets the default maximum length of an HTTP error response.

System_CAPS_pubpropertySystem_CAPS_staticDefaultMaximumResponseHeadersLength

Gets or sets the default for the MaximumResponseHeadersLength property.

System_CAPS_pubpropertyExpect

Gets or sets the value of the Expect HTTP header.

System_CAPS_pubpropertyHaveResponse

Gets a value that indicates whether a response has been received from an Internet resource.

System_CAPS_pubpropertyHeaders

Specifies a collection of the name/value pairs that make up the HTTP headers.(Overrides WebRequest.Headers.)

System_CAPS_pubpropertyHost

Get or set the Host header value to use in an HTTP request independent from the request URI.

System_CAPS_pubpropertyIfModifiedSince

Gets or sets the value of the If-Modified-Since HTTP header.

System_CAPS_pubpropertyImpersonationLevel

Gets or sets the impersonation level for the current request.(Inherited from WebRequest.)

System_CAPS_pubpropertyKeepAlive

Gets or sets a value that indicates whether to make a persistent connection to the Internet resource.

System_CAPS_pubpropertyMaximumAutomaticRedirections

Gets or sets the maximum number of redirects that the request follows.

System_CAPS_pubpropertyMaximumResponseHeadersLength

Gets or sets the maximum allowed length of the response headers.

System_CAPS_pubpropertyMediaType

Gets or sets the media type of the request.

System_CAPS_pubpropertyMethod

Gets or sets the method for the request.(Overrides WebRequest.Method.)

System_CAPS_pubpropertyPipelined

Gets or sets a value that indicates whether to pipeline the request to the Internet resource.

System_CAPS_pubpropertyPreAuthenticate

Gets or sets a value that indicates whether to send an Authorization header with the request.(Overrides WebRequest.PreAuthenticate.)

System_CAPS_pubpropertyProtocolVersion

Gets or sets the version of HTTP to use for the request.

System_CAPS_pubpropertyProxy

Gets or sets proxy information for the request.(Overrides WebRequest.Proxy.)

System_CAPS_pubpropertyReadWriteTimeout

Gets or sets a time-out in milliseconds when writing to or reading from a stream.

System_CAPS_pubpropertyReferer

Gets or sets the value of the Referer HTTP header.

System_CAPS_pubpropertyRequestUri

Gets the original Uniform Resource Identifier (URI) of the request.(Overrides WebRequest.RequestUri.)

System_CAPS_pubpropertySendChunked

Gets or sets a value that indicates whether to send data in segments to the Internet resource.

System_CAPS_pubpropertyServerCertificateValidationCallback

Gets or sets a callback function to validate the server certificate.

System_CAPS_pubpropertyServicePoint

Gets the service point to use for the request.

System_CAPS_pubpropertySupportsCookieContainer

Gets a value that indicates whether the request provides support for a CookieContainer.

System_CAPS_pubpropertyTimeout

Gets or sets the time-out value in milliseconds for the GetResponse and GetRequestStream methods.(Overrides WebRequest.Timeout.)

System_CAPS_pubpropertyTransferEncoding

Gets or sets the value of the Transfer-encoding HTTP header.

System_CAPS_pubpropertyUnsafeAuthenticatedConnectionSharing

Gets or sets a value that indicates whether to allow high-speed NTLM-authenticated connection sharing.

System_CAPS_pubpropertyUseDefaultCredentials

Gets or sets a Boolean value that controls whether default credentials are sent with requests.(Overrides WebRequest.UseDefaultCredentials.)

System_CAPS_pubpropertyUserAgent

Gets or sets the value of the User-agent HTTP header.

Return to top
Show:
© 2016 Microsoft