DataServiceContext.Credentials Property

 

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: