ClientRuntimeContext.Credentials property

Gets or sets the authentication information for the client context.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Property Credentials As ICredentials
    Get
    Set
'Usage
Dim instance As ClientRuntimeContext
Dim value As ICredentials

value = instance.Credentials

instance.Credentials = value
public ICredentials Credentials { get; set; }

Property value

Type: System.Net.ICredentials
The authentication information of the client context.

See also

Reference

ClientRuntimeContext class

ClientRuntimeContext members

Microsoft.SharePoint.Client namespace