Socks5Handler Constructor (Socket, String, String)

Mentalis.org ProxySocket

Mentalis.org ProxySocket Documentation

Socks5Handler Constructor (Socket, String, String)

Initiliazes a new Socks5Handler instance.

[Visual Basic]Overloads Public Sub New( _
   ByVal server As System.Net.Sockets.Socket, _
   ByVal user As String, _
   ByVal pass As String _
)
[C#]
public Socks5Handler(
   Socket server,
   string user,
   string pass
);

Parameters

server
The socket connection with the proxy server.
user
The username to use.
pass
The password to use.

Exceptions

Exception Type Condition
System.ArgumentNullException server -or- user -or- pass is null.

See Also

Socks5Handler Class | Socks5Handler Members | Org.Mentalis.Network.ProxySocket Namespace | Socks5Handler Constructor Overload List