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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.