Class WindowsNonInteractiveCredentialProvider
Gets NetworkCredentials stored in the Windows Credential Manager. Does not prompt for new credentials.
Implements
Inherited Members
Namespace: NanoByte.Common.Net
Assembly: NanoByte.Common.dll
Syntax
public class WindowsNonInteractiveCredentialProvider : WindowsCredentialProvider, ICredentialProvider
Constructors
WindowsNonInteractiveCredentialProvider()
Declaration
public WindowsNonInteractiveCredentialProvider()
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 |