SocksProxy.SocksProxy
Contents
[
Hide
]SocksProxy(string, int)
Initializes a new instance of the SocksProxy
class to connect to SOCKS4 server without authentication.
public SocksProxy(string address, int port)
Parameter | Type | Description |
---|---|---|
address | String | The domain name or IP address of the proxy |
port | Int32 | The port number of the proxy |
See Also
- class SocksProxy
- namespace Aspose.Email.Clients
- assembly Aspose.Email
SocksProxy(string, int, SocksVersion)
Initializes a new instance of the SocksProxy
class to connect to SOCKS4 or SOCKS5 server without authentication.
public SocksProxy(string address, int port, SocksVersion version)
Parameter | Type | Description |
---|---|---|
address | String | The domain name or IP address of the proxy |
port | Int32 | The port number of the proxy |
version | SocksVersion | Required SOCKS server version. |
See Also
- enum SocksVersion
- class SocksProxy
- namespace Aspose.Email.Clients
- assembly Aspose.Email
SocksProxy(string, int, string)
Initializes a new instance of the SocksProxy
class to connect to SOCKS4 server without authentication.
public SocksProxy(string address, int port, string userID)
Parameter | Type | Description |
---|---|---|
address | String | The domain name or IP address of the proxy |
port | Int32 | The port number of the proxy |
userID | String | UserID for Socks4 Identification Protocol (RFC 1413) |
See Also
- class SocksProxy
- namespace Aspose.Email.Clients
- assembly Aspose.Email
SocksProxy(string, int, string, string)
Initializes a new instance of the SocksProxy
class to connect to SOCKS5 server with defined username and password.
public SocksProxy(string address, int port, string username, string password)
Parameter | Type | Description |
---|---|---|
address | String | The domain name or IP address of the proxy |
port | Int32 | The port number of the proxy |
username | String | Username for authentication |
password | String | Password for authentication |
See Also
- class SocksProxy
- namespace Aspose.Email.Clients
- assembly Aspose.Email