SocketsHttpHandler.DefaultProxyCredentials 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.
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.
Exceptions
An operation has already been started on the current instance.
The current instance has been disposed.
Remarks
The default proxy is used only when UseProxy is set to true
and Proxy is set to null
.