NetworkCredential Constructor (String, String) |
Initializes a new instance of the
NetworkCredential class with
the specified
username and
password.
Namespace:
Sfs2X.WebSocketSharp.Net
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public NetworkCredential(
string username,
string password
)
Parameters
- username
- Type: SystemString
A String that represents the username associated with
the credentials.
- password
- Type: SystemString
A String that represents the password for the username
associated with the credentials.
Exceptions Exception | Condition |
---|
ArgumentNullException | username is .
|
ArgumentException | username is empty.
|
See Also