HttpClientHandler.DefaultProxyCredentials 属性

定义

使用默认(系统)代理时,获取或设置要提交到默认代理服务器进行身份验证的凭据。 只有在 UseProxy 设置为 trueProxy 设置为 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

属性值

对默认代理服务器的请求进行身份验证所需的凭据。

属性

适用于