共用方式為


HttpClientHandler.DefaultProxyCredentials 屬性

定義

使用預設 (系統) Proxy 時,取得或設定要提交至預設 Proxy 伺服器進行驗證的認證。 只有當 UseProxy 設定為 trueProxy 設定為 null 時,才使用預設 Proxy。

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

屬性值

向預設 Proxy 伺服器驗證要求所需的認證。

屬性

適用於