프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Credentials | ICredentials | ||
Default | |||
Proxy | IWebProxy | ||
UrlReferrer | |||
UserAgent | string | ||
UserLanguages | string[] |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
AddUserLanguageHeaders | void | ||
CreateRequest | |||
DoWebRequest | void | ||
GetRedirectUrl | string | ||
GetUrlFromResponse | |||
ParseStackTrace | string | ||
ReadHttpResponse | void | ||
SendRequest | |||
SubmitForm | void | ||
TrackUrlReferrer | void | ||
TrimFragmentIdentifier | string | ||
UpdateCredentialsFromUrl | void | ||
UpdateCurrentUrl | void | ||
WriteRequestBody | void |
메소드 | 설명 | |
---|---|---|
CookieValue ( string cookieName ) : string |
Returns the value of a cookie. Throws exception if the cookie hasn't been set.
|
|
FollowLink ( string url ) : void |
Retrieves a page from a web server. Different from GetPage in that it sets the current page as the referrer. You should use normally use GetPage.
|
|
GetPage ( string url ) : void |
Retrieves a page from a web server.
|
|
HasCookie ( string cookieName ) : bool |
Checks to see if a cookie has been set.
|
메소드 | 설명 | |
---|---|---|
AddUserLanguageHeaders ( |
||
CreateRequest ( string method, string formVariables ) : |
||
DoWebRequest ( string url, string method, string formVariables ) : void | ||
GetRedirectUrl ( |
||
GetUrlFromResponse ( |
||
ParseStackTrace ( string aspExceptionPageHtml ) : string |
Returns null if stack trace couldn't be found.
|
|
ReadHttpResponse ( |
||
SendRequest ( |
||
SubmitForm ( WebFormTester form ) : void | ||
TrackUrlReferrer ( ) : void | ||
TrimFragmentIdentifier ( string url ) : string | ||
UpdateCredentialsFromUrl ( ) : void | ||
UpdateCurrentUrl ( string url, bool isGet, string formVariables ) : void | ||
WriteRequestBody ( |
public GetPage ( string url ) : void | ||
url | string | The URL of the page to get. |
리턴 | void |
public HasCookie ( string cookieName ) : bool | ||
cookieName | string | The name of the cookie. |
리턴 | bool |