Click or drag to resize

CredentialDialogDeleteCredential Method

Deletes the credentials for the specified target.

Namespace:  Ookii.Dialogs
Assembly:  Ookii.Dialogs (in Ookii.Dialogs.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static bool DeleteCredential(
	string target
)

Parameters

target
Type: SystemString
The name of the target for which to delete the credentials.

Return Value

Type: Boolean
if the credential was deleted from either the application instance cache or the operating system's store; if no credentials for the specified target could be found in either store.
Exceptions
ExceptionCondition
ArgumentNullExceptiontarget is .
ArgumentExceptiontarget is an empty string ("").
CredentialExceptionAn error occurred deleting the credentials from the operating system's credential store.
Remarks

The credentials for the specified target will be removed from the application instance credential cache and the operating system's credential store.

See Also