DeviceAuthenticationWithX509Certificate Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DeviceAuthenticationWithX509Certificate class.
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)
Parameters
- deviceId
- String
Device Identifier.
- certificate
- X509Certificate2
X.509 Certificate.
- chainCertificates
- X509Certificate2Collection
Certificates in the device certificate chain.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.