Rediger

Del via


HttpListenerBasicIdentity(String, String) Constructor

Definition

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)

Parameters

username
String

The user name.

password
String

The password.

Remarks

This constructor is called by the HttpListener class when performing basic authentication.

Applies to