C# Class Opc.Ua.Com.UserIdentity

The user identity to use when connecting to the COM server.
Mostrar archivo Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
Equals ( object target ) : bool

Determines if the object is equal to the specified value.

GetHashCode ( ) : int

Returns a suitable hash code for the result.

IsDefault ( UserIdentity identity ) : bool

Whether the identity represents an the default identity.

ToString ( ) : string

Converts the object to a string used for display.

UserIdentity ( string username, string password ) : System

Sets the username and password (extracts the domain from the username if a '\' is present).

operator ( ) : bool

Returns true if the objects are equal.

Method Details

Equals() public method

Determines if the object is equal to the specified value.
public Equals ( object target ) : bool
target object
return bool

GetHashCode() public method

Returns a suitable hash code for the result.
public GetHashCode ( ) : int
return int

IsDefault() public static method

Whether the identity represents an the default identity.
public static IsDefault ( UserIdentity identity ) : bool
identity UserIdentity
return bool

ToString() public method

Converts the object to a string used for display.
public ToString ( ) : string
return string

UserIdentity() public method

Sets the username and password (extracts the domain from the username if a '\' is present).
public UserIdentity ( string username, string password ) : System
username string
password string
return System

operator() public static method

Returns true if the objects are equal.
public static operator ( ) : bool
return bool