Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebRequest Properties

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

NameDescription
System_CAPS_pubpropertyAuthenticationLevel

Gets or sets values indicating the level of authentication and impersonation used for this request.

System_CAPS_pubpropertyCachePolicy

Gets or sets the cache policy for this request.

System_CAPS_pubpropertyConnectionGroupName

When overridden in a descendant class, gets or sets the name of the connection group for the request.

System_CAPS_pubpropertyContentLength

When overridden in a descendant class, gets or sets the content length of the request data being sent.

System_CAPS_pubpropertyContentType

When overridden in a descendant class, gets or sets the content type of the request data being sent.

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.

System_CAPS_pubpropertyCredentials

When overridden in a descendant class, gets or sets the network credentials used for authenticating the request with the Internet resource.

System_CAPS_pubpropertySystem_CAPS_staticDefaultCachePolicy

Gets or sets the default cache policy for this request.

System_CAPS_pubpropertySystem_CAPS_staticDefaultWebProxy

Gets or sets the global HTTP proxy.

System_CAPS_pubpropertyHeaders

When overridden in a descendant class, gets or sets the collection of header name/value pairs associated with the request.

System_CAPS_pubpropertyImpersonationLevel

Gets or sets the impersonation level for the current request.

System_CAPS_pubpropertyMethod

When overridden in a descendant class, gets or sets the protocol method to use in this request.

System_CAPS_pubpropertyPreAuthenticate

When overridden in a descendant class, indicates whether to pre-authenticate the request.

System_CAPS_pubpropertyProxy

When overridden in a descendant class, gets or sets the network proxy to use to access this Internet resource.

System_CAPS_pubpropertyRequestUri

When overridden in a descendant class, gets the URI of the Internet resource associated with the request.

System_CAPS_pubpropertyTimeout

Gets or sets the length of time, in milliseconds, before the request times out.

System_CAPS_pubpropertyUseDefaultCredentials

When overridden in a descendant class, gets or sets a Boolean value that controls whether DefaultCredentials are sent with requests.

Return to top
Show:
© 2017 Microsoft