MailKit Documentation
MailKit Documentation
API Reference
MailKit.Net.Proxy
SocksClient Class
SocksClient Constructor
SocksClient(Int32, String, Int32) Constructor
SocksClient(Int32, String, Int32, NetworkCredential) Constructor
Socks
Client(Int
32, String, Int
32) Constructor
Initializes a new instance of the
SocksClient
class.
Namespace:
MailKit.Net.Proxy
Assembly:
MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
Copy
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
Exception
Condition
ArgumentNullException
host
is
null
.
ArgumentOutOfRangeException
port
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
Reference
SocksClient Class
SocksClient Overload
MailKit.Net.Proxy Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast