Class ConsolePasswordReader
Inheritance
System.Object
ConsolePasswordReader
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Catalyst.Core.Lib.Cryptography
Assembly: Catalyst.Core.Lib.dll
Syntax
public class ConsolePasswordReader : IPasswordReader
Constructors
| Improve this Doc View SourceConsolePasswordReader(IUserOutput, IUserInput)
Declaration
public ConsolePasswordReader(IUserOutput userOutput, IUserInput userInput)
Parameters
| Type | Name | Description |
|---|---|---|
| IUserOutput | userOutput | |
| IUserInput | userInput |
Fields
| Improve this Doc View SourceMaxLength
Declaration
public static readonly int MaxLength
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
| Improve this Doc View SourceReadSecurePassword(String)
Declaration
public SecureString ReadSecurePassword(string prompt)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | prompt |
Returns
| Type | Description |
|---|---|
| System.Security.SecureString |