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

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

예제

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

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

적용 대상