HttpListenerBasicIdentity(String, String) Constructeur

Définition

Initialise une nouvelle instance de la classe HttpListenerBasicIdentity à l'aide du nom d'utilisateur et du mot de passe spécifiés.

public:
 HttpListenerBasicIdentity(System::String ^ username, System::String ^ password);
public HttpListenerBasicIdentity (string username, string password);
new System.Net.HttpListenerBasicIdentity : string * string -> System.Net.HttpListenerBasicIdentity
Public Sub New (username As String, password As String)

Paramètres

username
String

Nom d'utilisateur.

password
String

Mot de passe.

Remarques

Ce constructeur est appelé par la classe lors de l’authentification HttpListener de base.

S’applique à