C# Класс mRemoteNG.Security.SecureStringExtensions

Показать файл Открыть проект

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

Метод Описание
ConvertToSecureString ( this unsecuredPassword ) : SecureString
ConvertToUnsecureString ( this securePassword ) : string

Method to marshall a SecureString out of protected memory into a standard String object that is required by most other functions. Code initially taken from Fabio Pintos Source: https://blogs.msdn.microsoft.com/fpintos/2009/06/12/how-to-properly-convert-securestring-to-string/

IsBase64String ( this s ) : bool

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

ConvertToSecureString() публичный статический Метод

public static ConvertToSecureString ( this unsecuredPassword ) : SecureString
unsecuredPassword this
Результат System.Security.SecureString

ConvertToUnsecureString() публичный статический Метод

Method to marshall a SecureString out of protected memory into a standard String object that is required by most other functions. Code initially taken from Fabio Pintos Source: https://blogs.msdn.microsoft.com/fpintos/2009/06/12/how-to-properly-convert-securestring-to-string/
public static ConvertToUnsecureString ( this securePassword ) : string
securePassword this
Результат string

IsBase64String() публичный статический Метод

public static IsBase64String ( this s ) : bool
s this
Результат bool