แก้ไข

แชร์ผ่าน


HttpClientHandler.DefaultProxyCredentials Property

Definition

When the default (system) proxy is being used, gets or sets the credentials to submit to the default proxy server for authentication. The default proxy is used only when UseProxy is set to true and Proxy is set to null.

public:
 property System::Net::ICredentials ^ DefaultProxyCredentials { System::Net::ICredentials ^ get(); void set(System::Net::ICredentials ^ value); };
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public System.Net.ICredentials? DefaultProxyCredentials { get; set; }
public System.Net.ICredentials DefaultProxyCredentials { get; set; }
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.DefaultProxyCredentials : System.Net.ICredentials with get, set
member this.DefaultProxyCredentials : System.Net.ICredentials with get, set
Public Property DefaultProxyCredentials As ICredentials

Property Value

The credentials needed to authenticate a request to the default proxy server.

Attributes

Applies to