DataServiceContext.Credentials Property

Definition

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

public virtual System.Net.ICredentials Credentials { get; set; }
member this.Credentials : System.Net.ICredentials with get, set
Public Overridable Property Credentials As ICredentials

Property Value

The base authentication interface for retrieving credentials for Web client authentication.

Applies to