Click or drag to resize

CredentialDialogUseApplicationInstanceCredentialCache Property

Gets or sets whether to use the application instance credential cache.

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 UseApplicationInstanceCredentialCache { get; set; }

Property Value

Type: Boolean
when credentials are saved in the application instance cache; if they are not. The default value is .
Remarks

The application instance credential cache stores credentials in memory while an application is running. When the application exits, this cache is not persisted.

When the UseApplicationInstanceCredentialCache property is set to , credentials that are confirmed with ConfirmCredentials(Boolean) when the user checked the "save password" option will be stored in the application instance cache as well as the operating system credential store.

When ShowDialog is called, and credentials for the specified Target are already present in the application instance cache, the dialog will not be shown and the cached credentials are returned, even if ShowUIForSavedCredentials is .

The application instance credential cache allows you to prevent prompting the user again for the lifetime of the application if the "save password" checkbox was checked, but when the application is restarted you can prompt again (initializing the dialog with the saved credentials). To get this behaviour, the ShowUIForSavedCredentials property must be set to .

See Also