HttpListenerBasicIdentity(String, String) 생성자

정의

지정된 사용자 이름과 암호를 사용하여 HttpListenerBasicIdentity 클래스의 새 인스턴스를 초기화합니다.

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)

매개 변수

username
String

사용자 이름입니다.

password
String

암호입니다.

설명

이 생성자는 기본 인증을 수행할 때 클래스에서 HttpListener 호출됩니다.

적용 대상