This documentation is archived and is not being maintained.

HttpTransportBindingElement.ProxyAuthenticationScheme Property

Gets or sets the authentication scheme used to authenticate client requests being processed by an HTTP proxy.

Namespace: System.ServiceModel.Channels
Assembly: System.ServiceModel (in system.servicemodel.dll)

public AuthenticationSchemes ProxyAuthenticationScheme { get; set; }
/** @property */
public AuthenticationSchemes get_ProxyAuthenticationScheme ()

/** @property */
public void set_ProxyAuthenticationScheme (AuthenticationSchemes value)

public function get ProxyAuthenticationScheme () : AuthenticationSchemes

public function set ProxyAuthenticationScheme (value : AuthenticationSchemes)

Not applicable.

Property Value

The AuthenticationSchemes enumeration that specifies the protocols used for client authentication on the proxy. The default is Anonymous.

[C#] The following example sets this property to use when sending requests to the proxy specified in the ProxyAddress property.

HttpTransportBindingElement httpBinding = new HttpTransportBindingElement();

httpBinding.ProxyAddress = new Uri( http://proxyserver );

httpBinding.ProxyAuthenticationScheme = AuthenticationSchemes.Digest;

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: