Click or drag to resize
MimeKit

SocksClient(Int32, String, Int32) Constructor

Initializes a new instance of the SocksClient class.

Namespace: MailKit.Net.Proxy
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
protected SocksClient(
	int version,
	string host,
	int port
)

Parameters

version  Int32
The SOCKS protocol version.
host  String
The host name of the proxy server.
port  Int32
The proxy server port.
Exceptions
ExceptionCondition
ArgumentNullExceptionhost is null.
ArgumentOutOfRangeExceptionport is not between 1 and 65535.
ArgumentException The host is a zero-length string.
Remarks
Initializes a new instance of the SocksClient class.
See Also