Export (0) Print
Expand All

HttpClientHandler.Credentials Property

.NET Framework 4.6 and 4.5

Gets or sets authentication information used by this handler.

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

public ICredentials Credentials { get; set; }

Property Value

Type: System.Net.ICredentials
Returns ICredentials.
The authentication credentials associated with the handler. The default is null.

.NET Framework

Supported in: 4.6, 4.5

Supported in: Windows Phone 8.1
© 2015 Microsoft