This documentation is archived and is not being maintained.
WebRequest Properties
Visual Studio 2010
The WebRequest type exposes the following members.
| Name | Description | |
|---|---|---|
|
AuthenticationLevel | Gets or sets values indicating the level of authentication and impersonation used for this request. |
|
CachePolicy | Gets or sets the cache policy for this request. |
|
ConnectionGroupName | When overridden in a descendant class, gets or sets the name of the connection group for the request. |
|
ContentLength | When overridden in a descendant class, gets or sets the content length of the request data being sent. |
|
ContentType | When overridden in a descendant class, gets or sets the content type of the request data being sent. |
|
Credentials | When overridden in a descendant class, gets or sets the network credentials used for authenticating the request with the Internet resource. |
|
DefaultCachePolicy | Gets or sets the default cache policy for this request. |
|
DefaultWebProxy | Gets or sets the global HTTP proxy. |
|
Headers | When overridden in a descendant class, gets or sets the collection of header name/value pairs associated with the request. |
|
ImpersonationLevel | Gets or sets the impersonation level for the current request. |
|
Method | When overridden in a descendant class, gets or sets the protocol method to use in this request. |
|
PreAuthenticate | When overridden in a descendant class, indicates whether to pre-authenticate the request. |
|
Proxy | When overridden in a descendant class, gets or sets the network proxy to use to access this Internet resource. |
|
RequestUri | When overridden in a descendant class, gets the URI of the Internet resource associated with the request. |
|
Timeout | Gets or sets the length of time, in milliseconds, before the request times out. |
|
UseDefaultCredentials | When overridden in a descendant class, gets or sets a Boolean value that controls whether DefaultCredentials are sent with requests. |
Show: