Метод | Описание | |
---|---|---|
CancelAsync ( ) : void |
Cancels any asychronous operation that is currently active.
|
|
CreateConnection ( string destinationHost, int destinationPort ) : |
Creates a remote TCP connection through a proxy server to the destination host on the destination port. This method creates a connection to the proxy server and instructs the proxy server to make a pass through connection to the specified destination host on the specified port. |
|
CreateConnectionAsync ( string destinationHost, int destinationPort ) : void |
Asynchronously creates a remote TCP connection through a proxy server to the destination host on the destination port. This method instructs the proxy server to make a pass through connection to the specified destination host on the specified port. |
|
Socks5ProxyClient ( ) : System |
Create a Socks5 proxy client object.
|
|
Socks5ProxyClient ( |
Creates a Socks5 proxy client object using the supplied TcpClient object connection.
|
|
Socks5ProxyClient ( string proxyHost ) : System |
Create a Socks5 proxy client object. The default proxy port 1080 is used.
|
|
Socks5ProxyClient ( string proxyHost, int proxyPort ) : System |
Create a Socks5 proxy client object.
|
|
Socks5ProxyClient ( string proxyHost, int proxyPort, string proxyUserName, string proxyPassword ) : System |
Create a Socks5 proxy client object.
|
|
Socks5ProxyClient ( string proxyHost, string proxyUserName, string proxyPassword ) : System |
Create a Socks5 proxy client object. The default proxy port 1080 is used.
|
Метод | Описание | |
---|---|---|
CreateAsyncWorker ( ) : void | ||
CreateConnectionAsync_DoWork ( object sender, |
||
CreateConnectionAsync_RunWorkerCompleted ( object sender, |
||
DetermineClientAuthMethod ( ) : void | ||
GetDestAddressBytes ( byte addressType, string host ) : byte[] | ||
GetDestAddressType ( string host ) : byte | ||
GetDestPortBytes ( int value ) : byte[] | ||
HandleProxyCommandError ( byte response, string destinationHost, int destinationPort ) : void | ||
NegotiateServerAuthMethod ( ) : void | ||
SendCommand ( byte command, string destinationHost, int destinationPort ) : void |
public CreateConnection ( string destinationHost, int destinationPort ) : |
||
destinationHost | string | Destination host name or IP address of the destination server. |
destinationPort | int | Port number to connect to on the destination host. |
Результат |
public CreateConnectionAsync ( string destinationHost, int destinationPort ) : void | ||
destinationHost | string | Destination host name or IP address. |
destinationPort | int | Port number to connect to on the destination host. |
Результат | void |
public Socks5ProxyClient ( |
||
tcpClient | A TcpClient connection object. | |
Результат | System |
public Socks5ProxyClient ( string proxyHost ) : System | ||
proxyHost | string | Host name or IP address of the proxy server. |
Результат | System |
public Socks5ProxyClient ( string proxyHost, int proxyPort ) : System | ||
proxyHost | string | Host name or IP address of the proxy server. |
proxyPort | int | Port used to connect to proxy server. |
Результат | System |
public Socks5ProxyClient ( string proxyHost, int proxyPort, string proxyUserName, string proxyPassword ) : System | ||
proxyHost | string | Host name or IP address of the proxy server. |
proxyPort | int | Port used to connect to proxy server. |
proxyUserName | string | Proxy authentication user name. |
proxyPassword | string | Proxy authentication password. |
Результат | System |
public Socks5ProxyClient ( string proxyHost, string proxyUserName, string proxyPassword ) : System | ||
proxyHost | string | Host name or IP address of the proxy server. |
proxyUserName | string | Proxy authentication user name. |
proxyPassword | string | Proxy authentication password. |
Результат | System |