Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataServiceContext.Credentials Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the authentication information that is used by each query created by using the DataServiceContext object.

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.

.NET Framework
Available since 3.5
Silverlight
Available since 4.0
Return to top
Show: