HttpClientHandler.Credentials Property

.NET Framework (current version)

Gets or sets authentication information used by this handler.

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

member Credentials : ICredentials with get, set

Property Value

Type: System.Net.ICredentials

The authentication credentials associated with the handler. The default is null.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top