Table of Contents

Class WindowsNonInteractiveCredentialProvider

Namespace
NanoByte.Common.Net
Assembly
NanoByte.Common.dll

Gets NetworkCredentials stored in the Windows Credential Manager. Does not prompt for new credentials.

public class WindowsNonInteractiveCredentialProvider : WindowsCredentialProvider, ICredentialProvider
Inheritance
WindowsNonInteractiveCredentialProvider
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 string

A string identifying the target the credentials are intended for.

flags WindowsCredentialsFlags

Flags for configuring the prompt.

Returns

NetworkCredential