C# Class NanoByte.Common.Net.WindowsCredentialProvider

Asks for NetworkCredentials for specific Uris using WindowsCredentials.
Inheritance: CredentialProviderBase
ファイルを表示 Open project: nano-byte/common

Public Methods

Method Description
GetCredential ( Uri uri, string authType ) : NetworkCredential

Protected Methods

Method Description
WindowsCredentialProvider ( bool interactive ) : System

Creates a new Windows credential provider.

Private Methods

Method Description
Prompt ( string target, WindowsCredentialsFlags flags ) : NetworkCredential

Method Details

GetCredential() public method

public GetCredential ( Uri uri, string authType ) : NetworkCredential
uri System.Uri
authType string
return System.Net.NetworkCredential

WindowsCredentialProvider() protected method

Creates a new Windows credential provider.
protected WindowsCredentialProvider ( bool interactive ) : System
interactive bool Indicates whether the credential provider is interactive, i.e., can ask the user for input.
return System