Click or drag to resize

CredentialDialog.IsStoredCredential Property

Gets a value that indicates whether the current credentials were retrieved from a credential store.

Namespace:  Ookii.Dialogs.Wpf
Assembly:  Ookii.Dialogs.Wpf (in Ookii.Dialogs.Wpf.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public bool IsStoredCredential { get; }

Property Value

Type: Boolean
true if the current credentials returned by the UserName, Password, and Credentials properties were retrieved from either the application instance credential cache or the operating system's credential store; otherwise, false.
Remarks

You can use this property to determine if the credentials dialog was shown after a call to ShowDialog(). If the dialog was shown, this property will be false; if the credentials were retrieved from the application instance cache or the credential store and the dialog was not shown it will be true.

If the ShowUIForSavedCredentials property is set to true, and the dialog is shown but populated with stored credentials, this property will still return false.

See Also