C# Class System.Net.SecureOnPassword

Afficher le fichier Open project: nikeee/wake-on-lan Class Usage Examples

Méthodes publiques

Méthode Description
GetPasswordBytes ( ) : byte[]

Gets the buffer of the password.

SecureOnPassword ( byte password )

Initializes a new instance of SecureOnPassword with the given password.

SecureOnPassword ( string password )

Initializes a new instance of SecureOnPassword with the given password.

Uses Text.Encoding.Default as encoding.

SecureOnPassword ( string password, Text encoding )

Initializes a new instance of SecureOnPassword with the given password.

ToString ( ) : string

Converts the SecureOnPassword to dash notation.

ToString ( IFormatProvider format ) : string

Converts the SecureOnPassword to dash notation.

Private Methods

Méthode Description
ToString ( string format ) : string

Converts the SecureOnPassword to dash notation.

Method Details

GetPasswordBytes() public méthode

Gets the buffer of the password.
public GetPasswordBytes ( ) : byte[]
Résultat byte[]

SecureOnPassword() public méthode

Initializes a new instance of SecureOnPassword with the given password.
is null. The length of the array password is not 6.
public SecureOnPassword ( byte password )
password byte The password as array.

SecureOnPassword() public méthode

Initializes a new instance of SecureOnPassword with the given password.
Uses Text.Encoding.Default as encoding.
is null.
public SecureOnPassword ( string password )
password string The password as .

SecureOnPassword() public méthode

Initializes a new instance of SecureOnPassword with the given password.
is null. is null. The array wich is created using the password has more elements than 6.
public SecureOnPassword ( string password, Text encoding )
password string The password as .
encoding Text The instance to use for the password.

ToString() public méthode

Converts the SecureOnPassword to dash notation.
public ToString ( ) : string
Résultat string

ToString() public méthode

Converts the SecureOnPassword to dash notation.
public ToString ( IFormatProvider format ) : string
format IFormatProvider
Résultat string