Authenticates the user asynchronously.
[Visual Basic]MustOverride Public Sub BeginAuthenticate( _
ByVal callback As Org.Mentalis.Network.ProxySocket.HandShakeComplete _
)
[C#]
public abstract void BeginAuthenticate(
HandShakeComplete callback
);
Parameters
- callback
- The method to call when the authentication is complete.
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
AuthMethod Class | AuthMethod Members | Org.Mentalis.Network.ProxySocket.Authentication Namespace