HttpListenerBasicIdentity(String, String) Construtor

Definição

Inicializa uma nova instância da classe HttpListenerBasicIdentity usando o nome de usuário e a senha especificados.Initializes a new instance of the HttpListenerBasicIdentity class using the specified user name and password.

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)

Parâmetros

username
String

O nome do usuário.The user name.

password
String

A senha.The password.

Comentários

Esse construtor é chamado pela HttpListener classe ao executar a autenticação básica.This constructor is called by the HttpListener class when performing basic authentication.

Aplica-se a