Show / Hide Table of Contents

Class WindowsNonInteractiveCredentialProvider

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

Inheritance
Object
WindowsCredentialProvider
WindowsNonInteractiveCredentialProvider
Implements
ICredentialProvider
Inherited Members
WindowsCredentialProvider.GetCredential(Uri, Boolean)
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
Overrides
WindowsCredentialProvider.GetCredential(String, WindowsCredentialsFlags)

Implements

ICredentialProvider

Extension Methods

UpdateUtils.To<TIn, TOut>(TIn, Func<TIn, TOut>)
JsonStorage.SaveJson<T>(T, Stream)
JsonStorage.SaveJson<T>(T, String)
JsonStorage.ToJsonString<T>(T)
JsonStorage.ReparseAsJson<T>(Object)
JsonStorage.ReparseAsJson<T>(Object, T)
XmlStorage.SaveXml(Object, Stream, String)
XmlStorage.SaveXml<T>(T, String, String)
XmlStorage.ToXmlString(Object, String)
ConversionUtils.ConvertToString<TType>(TType)
In This Article
Back to top Copyright Bastian Eicher