C# Класс System.Net.SecureOnPassword

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ToString ( string format ) : string

Converts the SecureOnPassword to dash notation.

Описание методов

GetPasswordBytes() публичный Метод

Gets the buffer of the password.
public GetPasswordBytes ( ) : byte[]
Результат byte[]

SecureOnPassword() публичный Метод

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() публичный Метод

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() публичный Метод

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() публичный Метод

Converts the SecureOnPassword to dash notation.
public ToString ( ) : string
Результат string

ToString() публичный Метод

Converts the SecureOnPassword to dash notation.
public ToString ( IFormatProvider format ) : string
format IFormatProvider
Результат string