TCnWebProxy.UseDefaultCredentials Property

Gets or sets a Boolean value that controls whether the DefaultCredentials are sent with requests.

Namespace: CNClrLib.Component.WebProxy
published
 property UseDefaultCredentials: Boolean read GetUseDefaultCredentials write SetUseDefaultCredentials default False;

Property Value

Type: Boolean

true if the default credentials are used; otherwise, false. The default value is false.

Set this property to true when requests made by this WebProxy object should, if requested by the server, be authenticated using the credentials of the currently logged on user. For client applications, this is the desired behavior in most scenarios.