Initializes a new AuthUserPass instance.
[Visual Basic]Public Sub New( _
ByVal server As System.Net.Sockets.Socket, _
ByVal user As String, _
ByVal pass As String _
)
[C#]
public AuthUserPass(
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 | user -or- pass is null. |
See Also
AuthUserPass Class | AuthUserPass Members | Org.Mentalis.Network.ProxySocket.Authentication Namespace