Export (0) Print
Expand All

DataServiceContext.Credentials Property

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.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft