Socks5Handler.Authenticate Method

Mentalis.org ProxySocket

Mentalis.org ProxySocket Documentation

Socks5Handler.Authenticate Method 

Starts the synchronous authentication process.

[Visual Basic]Private Sub Authenticate()
[C#]
private void Authenticate();

Exceptions

Exception Type Condition
Org.Mentalis.Network.ProxySocket.ProxyException Authentication with the proxy server failed.
System.Net.ProtocolViolationException The proxy server uses an invalid protocol.
System.Net.Sockets.SocketException An operating system error occurs while accessing the Socket.
System.ObjectDisposedException The Socket has been closed.

See Also

Socks5Handler Class | Socks5Handler Members | Org.Mentalis.Network.ProxySocket Namespace