SocksProxy
内容
[
隐藏
]SocksProxy(string, int)
初始化SocksProxy
无需身份验证即可连接到 SOCKS4 服务器的类。
public SocksProxy(string address, int port)
范围 | 类型 | 描述 |
---|---|---|
address | String | 代理的域名或IP地址 |
port | Int32 | 代理的端口号 |
也可以看看
- class SocksProxy
- 命名空间 Aspose.Email.Clients
- 部件 Aspose.Email
SocksProxy(string, int, SocksVersion)
初始化SocksProxy
无需身份验证即可连接到 SOCKS4 或 SOCKS5 服务器的类。
public SocksProxy(string address, int port, SocksVersion version)
范围 | 类型 | 描述 |
---|---|---|
address | String | 代理的域名或IP地址 |
port | Int32 | 代理的端口号 |
version | SocksVersion | 所需的 SOCKS 服务器版本。 |
也可以看看
- enum SocksVersion
- class SocksProxy
- 命名空间 Aspose.Email.Clients
- 部件 Aspose.Email
SocksProxy(string, int, string)
初始化SocksProxy
无需身份验证即可连接到 SOCKS4 服务器的类。
public SocksProxy(string address, int port, string userID)
范围 | 类型 | 描述 |
---|---|---|
address | String | 代理的域名或IP地址 |
port | Int32 | 代理的端口号 |
userID | String | Socks4 标识协议的用户 ID (RFC 1413) |
也可以看看
- class SocksProxy
- 命名空间 Aspose.Email.Clients
- 部件 Aspose.Email
SocksProxy(string, int, string, string)
初始化SocksProxy
使用定义的用户名和密码连接到 SOCKS5 服务器的类。
public SocksProxy(string address, int port, string username, string password)
范围 | 类型 | 描述 |
---|---|---|
address | String | 代理的域名或IP地址 |
port | Int32 | 代理的端口号 |
username | String | 用于身份验证的用户名 |
password | String | 验证密码 |
也可以看看
- class SocksProxy
- 命名空间 Aspose.Email.Clients
- 部件 Aspose.Email