Freigeben über


DeviceAuthenticationWithX509Certificate Konstruktor

Definition

Initialisiert eine neue Instanz der DeviceAuthenticationWithX509Certificate-Klasse.

public DeviceAuthenticationWithX509Certificate (string deviceId, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection chainCertificates = default);
new Microsoft.Azure.Devices.Client.DeviceAuthenticationWithX509Certificate : string * System.Security.Cryptography.X509Certificates.X509Certificate2 * System.Security.Cryptography.X509Certificates.X509Certificate2Collection -> Microsoft.Azure.Devices.Client.DeviceAuthenticationWithX509Certificate
Public Sub New (deviceId As String, certificate As X509Certificate2, Optional chainCertificates As X509Certificate2Collection = Nothing)

Parameter

deviceId
String

Geräte-ID.

certificate
X509Certificate2

X.509-Zertifikat.

chainCertificates
X509Certificate2Collection

Zertifikate in der Gerätezertifikatkette.

Gilt für: