This topic has not yet been rated - Rate this topic

WebClient.Credentials Property

April 12, 2014

Gets or sets the network credentials that are sent to the host and used to authenticate the request.

Namespace:  System.Net
Assembly:  System.Net (in System.Net.dll)
public ICredentials Credentials { get; set; }

Property Value

Type: System.Net.ICredentials
An ICredentials containing the authentication credentials for the request. The default is null.

The Credentials property contains the authentication credentials used to access a resource on a host.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.