Class CredentialDialog
Includes methods that provide access to a native Windows dialog that requests generic credentials from the user.
Inherited Members
Namespace: TheXDS.MCART.Helpers
Assembly: MCART.Windows.dll
Syntax
[ExcludeFromCodeCoverage]
public static class CredentialDialog
Methods
| Edit this page View SourceGetCredentials(CredentialDialogProperties)
Requests credentials from the user.
Declaration
public static CredentialBoxResult? GetCredentials(CredentialDialogProperties props)
Parameters
| Type | Name | Description |
|---|---|---|
| CredentialDialogProperties | props | Properties that indicate the presentation and behavior of the dialog. |
Returns
| Type | Description |
|---|---|
| CredentialBoxResult? | A CredentialBoxResult with the credentials entered by the user, or null if the user cancels or does not enter any credentials. |