This topic has not yet been rated - Rate this topic

DataServiceContext.Credentials Property

March 22, 2012

Gets or sets the authentication information that is used when you send a request to the data service.

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

Property Value

Type: System.Net.ICredentials
The base authentication interface for retrieving credentials for web client authentication.

The Credentials property is used to set the credentials that are used by each request sent by the current DataServiceContext instance.

Windows Phone OS

Supported in: 7.1

Windows Phone

Did you find this helpful?
(1500 characters remaining)