Share via


Connection.AddClientCertificate Method

.NET Framework 4.5

Adds a client certificate to the request.

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

Syntax

'Declaration
Public Sub AddClientCertificate ( _
    certificate As X509Certificate _
)
'Usage
Dim instance As Connection 
Dim certificate As X509Certificate

instance.AddClientCertificate(certificate)
public void AddClientCertificate(
    X509Certificate certificate
)
public:
void AddClientCertificate(
    X509Certificate^ certificate
)
member AddClientCertificate : 
        certificate:X509Certificate -> unit
public function AddClientCertificate(
    certificate : X509Certificate
)

Parameters

See Also

Reference

Connection Class

Microsoft.AspNet.SignalR.Client Namespace