C# Class NanoByte.Common.Net.CliCredentialProvider

Asks the user for NetworkCredentials for specific Uris using a command-line prompt.
Inheritance: CredentialProviderBase
Afficher le fichier Open project: nano-byte/common

Méthodes publiques

Méthode Description
CliCredentialProvider ( bool interactive ) : System

Creates a new command-line credential provider.

GetCredential ( Uri uri, string authType ) : NetworkCredential

Method Details

CliCredentialProvider() public méthode

Creates a new command-line credential provider.
public CliCredentialProvider ( bool interactive ) : System
interactive bool Indicates whether the credential provider is interactive, i.e., can ask the user for input.
Résultat System

GetCredential() public méthode

public GetCredential ( Uri uri, string authType ) : NetworkCredential
uri System.Uri
authType string
Résultat System.Net.NetworkCredential