HttpTransportBindingElement.ProxyAuthenticationScheme Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the authentication scheme used to authenticate client requests being processed by an HTTP proxy.
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
Property Value
The AuthenticationSchemes enumeration that specifies the protocols used for client authentication on the proxy. The default is Anonymous.
Examples
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;
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.