The members of System.Net.WebRequest are listed below.
See Also: Inherited members from System.MarshalByRefObject
Initializes a new instance of the System.Net.WebRequest class. | ||
Initializes a new instance of the System.Net.WebRequest class from the specified instances of the System.Runtime.Serialization.SerializationInfo and System.Runtime.Serialization.StreamingContext classes. |
AuthenticationLevel | System.Net.Security.AuthenticationLevel.
Gets or sets values indicating the level of authentication and impersonation used for this request. | |
CachePolicy | System.Net.Cache.RequestCachePolicy.
Gets or sets the cache policy for this request. | |
ConnectionGroupName | string.
When overridden in a descendant class, gets or sets the name of the connection group for the request. | |
ContentLength | long.
When overridden in a descendant class, gets or sets the content length of the request data being sent. | |
ContentType | string.
When overridden in a descendant class, gets or sets the content type of the request data being sent. | |
Credentials | ICredentials.
When overridden in a descendant class, gets or sets the network credentials used for authenticating the request with the Internet resource. | |
static | DefaultCachePolicy | System.Net.Cache.RequestCachePolicy.
Gets or sets the default cache policy for this request. |
static | DefaultWebProxy | IWebProxy.
Gets or sets the global HTTP proxy. |
Headers | WebHeaderCollection.
When overridden in a descendant class, gets or sets the collection of header name/value pairs associated with the request. | |
ImpersonationLevel | System.Security.Principal.TokenImpersonationLevel.
Gets or sets the impersonation level for the current request. | |
Method | string.
When overridden in a descendant class, gets or sets the protocol method to use in this request. | |
PreAuthenticate | bool.
When overridden in a descendant class, indicates whether to pre-authenticate the request. | |
Proxy | IWebProxy.
When overridden in a descendant class, gets or sets the network proxy to use to access this Internet resource. | |
[read-only] | RequestUri | Uri.
When overridden in a descendant class, gets the URI of the Internet resource associated with the request. |
Timeout | int.
Gets or sets the length of time, in milliseconds, before the request times out. | |
UseDefaultCredentials | bool.
When overridden in a descendant class, gets or sets a bool value that controls whether CredentialCache.DefaultCredentials are sent with requests. |
Abort()
| ||
BeginGetRequestStream(AsyncCallback, object)
| ||
BeginGetResponse(AsyncCallback, object)
| ||
static | Create(string)
| |
static | Create(Uri)
| |
static | CreateDefault(Uri)
| |
static | CreateHttp(string)
| |
static | CreateHttp(Uri)
| |
EndGetRequestStream(IAsyncResult)
| ||
EndGetResponse(IAsyncResult)
| ||
GetRequestStream()
| ||
GetRequestStreamAsync()
| ||
GetResponse()
| ||
GetResponseAsync()
| ||
static | GetSystemWebProxy()
| |
static | RegisterPrefix(string, IWebRequestCreate)
|
GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
|
System.Runtime.Serialization.ISerializable.GetObjectData |
When overridden in a descendant class, populates a System.Runtime.Serialization.SerializationInfo instance with the data needed to serialize the System.Net.WebRequest. |