CredentialDialogStoreCredential Method |
Namespace: Ookii.Dialogs.Wpf
Exception | Condition |
---|---|
ArgumentNullException | target is . -or- credential is . |
ArgumentException | target is an empty string (""). |
CredentialException | An error occurred storing the credentials. |
Note |
---|
The Domain property is ignored and will not be stored, even if it is not . |
If the credential manager already contains credentials for the specified target, they will be overwritten; this can even overwrite credentials that were stored by another application. Therefore it is strongly recommended that you prefix the target name to ensure uniqueness, e.g. using the form "Company_ApplicationName_www.example.com".