C# Class Opc.Ua.Configuration.UserNameCreator

Creates UserName.
ファイルを表示 Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
Add ( string applicationName, string userName, string password ) : void

Add a User.

Delete ( string applicationName, string userName ) : bool

Delete a User.

LoadUserName ( string applicationName ) : UserNameIdentityToken>.Dictionary

Load UserNameIdentityToken.

UserNameCreator ( string applicationName ) : System

The default constructor.

Private Methods

Method Description
DecryptPassword ( byte srcPassword ) : byte[]

Decrypt Password.

EncryptPassword ( byte srcPassword ) : byte[]

Encrypt Password.

SaveUserName ( string applicationName, UserNameIdentityToken userNameToken ) : void

Save UserNameIdentityToken.

Method Details

Add() public method

Add a User.
public Add ( string applicationName, string userName, string password ) : void
applicationName string The Application Name.
userName string The UserName.
password string The Password.
return void

Delete() public method

Delete a User.
public Delete ( string applicationName, string userName ) : bool
applicationName string The Application Name.
userName string The UserName.
return bool

LoadUserName() public static method

Load UserNameIdentityToken.
public static LoadUserName ( string applicationName ) : UserNameIdentityToken>.Dictionary
applicationName string
return UserNameIdentityToken>.Dictionary

UserNameCreator() public method

The default constructor.
public UserNameCreator ( string applicationName ) : System
applicationName string
return System