Edit

Share via


SocketsHttpHandler.DefaultProxyCredentials Property

Definition

When the default (system) proxy is used, gets or sets the credentials used to submit to the default proxy server for authentication.

public:
 property System::Net::ICredentials ^ DefaultProxyCredentials { System::Net::ICredentials ^ get(); void set(System::Net::ICredentials ^ value); };
public System.Net.ICredentials? DefaultProxyCredentials { get; set; }
public System.Net.ICredentials DefaultProxyCredentials { get; set; }
member this.DefaultProxyCredentials : System.Net.ICredentials with get, set
Public Property DefaultProxyCredentials As ICredentials

Property Value

The credentials used to authenticate the user to an authenticating proxy.

Remarks

The default proxy is used only when UseProxy is set to true and Proxy is set to null.

Applies to