C# Class Opc.Ua.Com.UserIdentity

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

Méthodes publiques

Méthode 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 méthode

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

GetHashCode() public méthode

Returns a suitable hash code for the result.
public GetHashCode ( ) : int
Résultat int

IsDefault() public static méthode

Whether the identity represents an the default identity.
public static IsDefault ( UserIdentity identity ) : bool
identity UserIdentity
Résultat bool

ToString() public méthode

Converts the object to a string used for display.
public ToString ( ) : string
Résultat string

UserIdentity() public méthode

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
Résultat System

operator() public static méthode

Returns true if the objects are equal.
public static operator ( ) : bool
Résultat bool