SOCKS proxy client. Supported versions of the protocol are SOCKS4 and SOCKS5.
More...
|
SocksVersion | get_Version () const |
| Required SOCKS server version. More...
|
|
void | set_Version (SocksVersion value) |
| Required SOCKS server version. More...
|
|
SocksAuthenticationMethods | get_SupportedAuthenticationMethods () const |
| The supported authentication methods to connect to SOCKS server More...
|
|
void | set_SupportedAuthenticationMethods (SocksAuthenticationMethods value) |
| The supported authentication methods to connect to SOCKS server More...
|
|
| SocksProxy (System::String address, int32_t port) |
| Initializes a new instance of the SocksProxy class to connect to SOCKS4 server without authentication. More...
|
|
| SocksProxy (System::String address, int32_t port, SocksVersion version) |
| Initializes a new instance of the SocksProxy class to connect to SOCKS4 or SOCKS5 server without authentication. More...
|
|
| SocksProxy (System::String address, int32_t port, System::String userID) |
| Initializes a new instance of the SocksProxy class to connect to SOCKS4 server without authentication. More...
|
|
| SocksProxy (System::String address, int32_t port, System::String username, System::String password) |
| Initializes a new instance of the SocksProxy class to connect to SOCKS5 server with defined username and password. More...
|
|
void | SetUpStream (System::SharedPtr< System::IO::Stream > stream, System::String address, int32_t port) override |
| Configures proxy-server to transport data to the target host. More...
|
|
System::String | get_Address () const |
| The domain name or IP address of the proxy server More...
|
|
void | set_Address (System::String value) |
| The domain name or IP address of the proxy server More...
|
|
int32_t | get_Port () const |
| The port number for the proxy server More...
|
|
void | set_Port (int32_t value) |
| The port number for the proxy server More...
|
|
System::String | get_Username () const |
| Username for proxy authentication More...
|
|
void | set_Username (System::String value) |
| Username for proxy authentication More...
|
|
System::String | get_Password () const |
| Password for proxy authentication More...
|
|
void | set_Password (System::String value) |
| Password for proxy authentication More...
|
|
| Proxy (System::String address, int32_t port, System::String username, System::String password) |
|
System::SharedPtr< System::IO::Stream > | GetStream (System::String address, int32_t port) |
| Returns configured network stream to transport data to the required host through the proxy server. More...
|
|
void | Dispose () override |
| Disposes this instance and requests that the underlying TCP connection be closed. More...
|
|
SOCKS proxy client. Supported versions of the protocol are SOCKS4 and SOCKS5.