다음을 통해 공유


HttpTransportBindingElement.ProxyAuthenticationScheme 속성

정의

HTTP 프록시에서 처리 중인 클라이언트 요청을 인증하는 데 사용되는 인증 체계를 가져오거나 설정합니다.

public:
 property System::Net::AuthenticationSchemes ProxyAuthenticationScheme { System::Net::AuthenticationSchemes get(); void set(System::Net::AuthenticationSchemes value); };
public System.Net.AuthenticationSchemes ProxyAuthenticationScheme { get; set; }
member this.ProxyAuthenticationScheme : System.Net.AuthenticationSchemes with get, set
Public Property ProxyAuthenticationScheme As AuthenticationSchemes

속성 값

프록시에서 AuthenticationSchemes 클라이언트 인증에 사용되는 프로토콜을 지정하는 열거형입니다. 기본값은 Anonymous입니다.

예제

다음은 속성에 지정된 프록시에 요청을 보낼 때 이 속성을 사용하도록 설정하는 예제입니다 ProxyAddress .

HttpTransportBindingElement httpBinding = new HttpTransportBindingElement();
httpBinding.ProxyAddress = new Uri(http://proxyserver);
httpBinding.ProxyAuthenticationScheme = AuthenticationSchemes.Digest;

적용 대상