Class WindowsGuiCredentialProvider
Asks the user for NetworkCredentials using the Windows Credential Manager GUI.
Implements
Inherited Members
Namespace: NanoByte.Common.Net
Assembly: NanoByte.Common.dll
Syntax
public class WindowsGuiCredentialProvider : WindowsCredentialProvider, ICredentialProvider
Constructors
WindowsGuiCredentialProvider()
Declaration
public WindowsGuiCredentialProvider()
Methods
GetCredential(String, WindowsCredentialsFlags)
Performs the actual WindowsCredentials API call to prompt the user or the credential store for credentials.
Declaration
protected override NetworkCredential GetCredential(string target, WindowsCredentialsFlags flags)
Parameters
Type | Name | Description |
---|---|---|
String | target | A string identifying the target the credentials are intended for. |
WindowsCredentialsFlags | flags | Flags for configuring the prompt. |
Returns
Type | Description |
---|---|
NetworkCredential |