Class WindowsGuiCredentialProvider
Asks the user for System.Net.NetworkCredentials using the Windows Credential Manager GUI.
public class WindowsGuiCredentialProvider : WindowsCredentialProvider, ICredentialProvider
- Inheritance
-
objectWindowsGuiCredentialProvider
- Implements
- Inherited Members
- Extension Methods
Methods
GetCredential(string, WindowsCredentialsFlags)
Performs the actual WindowsCredentials API call to prompt the user or the credential store for credentials.
protected override NetworkCredential GetCredential(string target, WindowsCredentialsFlags flags)
Parameters
target
stringA string identifying the target the credentials are intended for.
flags
WindowsCredentialsFlagsFlags for configuring the prompt.
Returns
- NetworkCredential