Свойство | Тип | Описание | |
---|---|---|---|
CookieContainers | |||
FireFoxAgent | string | ||
IE7 | string |
Метод | Описание | |
---|---|---|
GetRegexString ( string pattern, string source ) : string | ||
GetRegexStrings ( string pattern, string source ) : string[] | ||
GetResponse ( string url, string method, string data, |
获取网页数据
|
|
GetResponseGBK ( string url, string method, string data ) : string | ||
GetResponseImage ( string url ) : Stream | ||
GetResponseUTF ( string url, string method, string data ) : string |
public static GetRegexString ( string pattern, string source ) : string | ||
pattern | string | |
source | string | |
Результат | string |
public static GetRegexStrings ( string pattern, string source ) : string[] | ||
pattern | string | |
source | string | |
Результат | string[] |
public static GetResponse ( string url, string method, string data, |
||
url | string | |
method | string | "POST" or "GET" |
data | string | when the method is "POST", the data will send to web server, if the method is "GET", the data should be string.empty |
encode | ||
Результат | string |
public static GetResponseGBK ( string url, string method, string data ) : string | ||
url | string | |
method | string | |
data | string | |
Результат | string |
public static GetResponseImage ( string url ) : Stream | ||
url | string | |
Результат | Stream |
public static GetResponseUTF ( string url, string method, string data ) : string | ||
url | string | |
method | string | |
data | string | |
Результат | string |
public static CookieContainer,System.Net CookieContainers | ||
Результат |