Share via


RealTimeConnectionManager.SetLocalCertificate Method

Sets the local certificate information. This is used for mutual TLS authentication when needed. If the mutual TLS is not used, there is no need to set these values. The certificate is retrieved from the certificate store on the local computer.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Overridable Sub SetLocalCertificate ( _
    certificateIssuerName As String, _
    certificateSerialNumber As Byte() _
)
'Usage
Dim instance As RealTimeConnectionManager
Dim certificateIssuerName As String
Dim certificateSerialNumber As Byte()

instance.SetLocalCertificate(certificateIssuerName, _
    certificateSerialNumber)
public virtual void SetLocalCertificate(
    string certificateIssuerName,
    byte[] certificateSerialNumber
)

Parameters

  • certificateIssuerName
    Type: System.String
    The issuer name of the certificate to be used.
  • certificateSerialNumber
    Type: []
    The serial number of the certificate to be used.

See Also

Reference

RealTimeConnectionManager Class

RealTimeConnectionManager Members

Microsoft.Rtc.Signaling Namespace