Struct CredentialBoxResult
Contains information about the result of a dialog box that obtains credentials from the user.
Implements
Inherited Members
Namespace: TheXDS.MCART.Helpers
Assembly: MCART.Windows.dll
Syntax
[ExcludeFromCodeCoverage]
public readonly record struct CredentialBoxResult : IEquatable<CredentialBoxResult>
Constructors
| Edit this page View SourceCredentialBoxResult(string, SecureString, bool)
Contains information about the result of a dialog box that obtains credentials from the user.
Declaration
public CredentialBoxResult(string Username, SecureString Password, bool Save)
Parameters
| Type | Name | Description |
|---|---|---|
| string | Username | Username. |
| SecureString | Password | Password. |
| bool | Save | Indicates whether the user wants to store the supplied credentials. |
Properties
| Edit this page View SourcePassword
Password.
Declaration
public SecureString Password { get; init; }
Property Value
| Type | Description |
|---|---|
| SecureString |
Save
Indicates whether the user wants to store the supplied credentials.
Declaration
public bool Save { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
Username
Username.
Declaration
public string Username { get; init; }
Property Value
| Type | Description |
|---|---|
| string |