Свойство | Type | Description | |
---|---|---|---|
ContentLength | long | ||
DestinationUri | |||
StatusCode | HttpStatusCode | ||
StatusDescription | string |
Méthode | Description | |
---|---|---|
SetupUserAgent ( string userAgent ) : void |
Sets the user agent to the specified browser.
|
Méthode | Description | |
---|---|---|
GetWebRequest ( |
Gets a WebRequest from the URI provided.
|
|
GetWebResponse ( |
Gets a WebResponse from a given WebRequest.
|
|
WebRequestClientBase ( ) : System |
Initializes a new instance of the WebRequestClientBase class.
|
|
WebRequestClientBase ( |
Initializes a new instance of the WebRequestClientBase class.
|
Méthode | Description | |
---|---|---|
GetCookieFromSetCookieHeader ( string headerValue, |
Retrieves a cookie from the WebRequest with a given header.
|
protected GetWebRequest ( |
||
address | The URI. | |
Résultat |
protected GetWebResponse ( |
||
request | The request. | |
Résultat |
public SetupUserAgent ( string userAgent ) : void | ||
userAgent | string | The user agent. |
Résultat | void |
protected WebRequestClientBase ( ) : System | ||
Résultat | System |
protected WebRequestClientBase ( |
||
cookies | /// The cookies. /// | |
Résultat | System |