Property | Type | Description | |
---|---|---|---|
BufferSize | int |
Method | Description | |
---|---|---|
Extract ( String str, String token1, String token2, int index ) : String |
This method is very useful for grabbing information from a HTML page.
|
|
ExtractFromIndex ( String str, String token1, String token2, int index, int occurence ) : String |
This method is very useful for grabbing information from a HTML page.
|
|
LoadPage ( |
Load the specified web page into a string.
|
|
POSTPage ( |
Post to a page.
|
|
POSTPage ( |
Post bytes to a page.
|
|
POSTPage ( |
Post to a page.
|
Method | Description | |
---|---|---|
BotUtil ( ) : System |
Private constructor.
|
public static Extract ( String str, String token1, String token2, int index ) : String | ||
str | String | The string to search. |
token1 | String | The text, or tag, that comes before the desired text. |
token2 | String | The text, or tag, that comes after the desired text. |
index | int | Which occurrence of token1 to use, 1 for the first. |
return | String |
public static ExtractFromIndex ( String str, String token1, String token2, int index, int occurence ) : String | ||
str | String | The string to search. |
token1 | String | The text, or tag, that comes before the desired text |
token2 | String | The text, or tag, that comes after the desired text |
index | int | Index in the string to start searching from. |
occurence | int | What occurence. |
return | String |
public static LoadPage ( |
||
url | The url to load. | |
return | String |
public static POSTPage ( |
||
uri | The URI to post to. | |
param | String>.IDictionary | The post params. |
return | String |
public static POSTPage ( |
||
uri | The URI to post to. | |
bytes | byte | The bytes to post. |
length | int | The length of the posted data. |
return | String |
public static POSTPage ( |
||
uri | The URI to post to. | |
stream | Stream | The stream. |
return | string |