TCnWebProxy.Credentials Property

Gets or sets the credentials to submit to the proxy server for authentication.

Namespace: CNClrLib.Component.WebProxy
public
 property Credentials: _ICredentials read GetCredentials write SetCredentials;

Property Value

An ICredentials instance that contains the credentials to submit to the proxy server for authentication.

The Credentials property contains the authentication credentials to send to the proxy server in response to an HTTP 407 (proxy authorization) status code. In most client scenarios, you should use the DefaultCredentials, which are the credentials of the currently logged on user. To do this, set the UseDefaultCredentials property to true instead of setting this property.