UseDefaultCredentials Property

HttpWebRequest.UseDefaultCredentials Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets a Boolean value that controls whether default credentials are sent with requests.

Namespace:  System.Net
Assembly:  System.Net (in System.Net.dll)

public override bool UseDefaultCredentials { get; set; }

Property Value

Type: System.Boolean
Returns true if the default credentials are used; otherwise false. The default value is false.

Windows Phone OS

Supported in: 8.1

Show:
© 2017 Microsoft