Share via


Connection.Credentials Property

.NET Framework 4

Gets or sets authentication information for the connection.

Namespace:  Microsoft.AspNet.SignalR.Client
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

Syntax

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

value = instance.Credentials

instance.Credentials = value
public ICredentials Credentials { get; set; }
public:
virtual property ICredentials^ Credentials {
    ICredentials^ get () sealed;
    void set (ICredentials^ value) sealed;
}
abstract Credentials : ICredentials with get, set 
override Credentials : ICredentials with get, set
final function get Credentials () : ICredentials 
final function set Credentials (value : ICredentials)

Property Value

Type: System.Net.ICredentials
Returns ICredentials.

Implements

IConnection.Credentials

See Also

Reference

Connection Class

Microsoft.AspNet.SignalR.Client Namespace