EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

WebClient.Credentials Property

May 11, 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

Afficher:
© 2014 Microsoft