| CredentialDialogRetrieveCredentialFromApplicationInstanceCache Method |
Tries to get the credentials for the specified target from the application instance credential cache.
Namespace:
Ookii.Dialogs
Assembly:
Ookii.Dialogs (in Ookii.Dialogs.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static NetworkCredential RetrieveCredentialFromApplicationInstanceCache(
string target
)
Public Shared Function RetrieveCredentialFromApplicationInstanceCache (
target As String
) As NetworkCredential
public:
static NetworkCredential^ RetrieveCredentialFromApplicationInstanceCache(
String^ target
)
static member RetrieveCredentialFromApplicationInstanceCache :
target : string -> NetworkCredential
Parameters
- target
- Type: SystemString
The target for the credentials, typically a server name.
Return Value
Type:
NetworkCredentialThe credentials that were found in the application instance cache; otherwise,
.
Exceptions 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