HttpListenerBasicIdentity(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.