Click or drag to resize

CredentialDialogRetrieveCredentialFromApplicationInstanceCache Method

Tries to get the credentials for the specified target from 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 static NetworkCredential RetrieveCredentialFromApplicationInstanceCache(
	string target
)

Parameters

target
Type: SystemString
The target for the credentials, typically a server name.

Return Value

Type: NetworkCredential
The credentials that were found in the application instance cache; otherwise, .
Exceptions
ExceptionCondition
ArgumentNullExceptiontarget is .
ArgumentExceptiontarget is an empty string ("").
Remarks

This function will only check the the application instance credential cache; the operating system's credential store is not checked. To retrieve credentials from the operating system's store, use RetrieveCredential(String).

See Also