HttpListenerBasicIdentity Constructor (String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the HttpListenerBasicIdentity class using the specified user name and password.

Namespace:   System.Net
Assembly:  System (in System.dll)

new : 
        username:string *
        password:string -> HttpListenerBasicIdentity

Parameters

username
Type: System.String

The user name.

password
Type: System.String

The password.

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

.NET Framework
Available since 2.0
Return to top
Show: