Share via


DeviceAuthenticationWithX509Certificate.Certificate Property

Definition

Gets or sets the X.509 certificate associated with this device. The private key should be available in the System.Security.Cryptography.X509Certificates.X509Certificate2 object, or should be loaded into the system where the DeviceClient will be used. />

public System.Security.Cryptography.X509Certificates.X509Certificate2 Certificate { get; set; }
member this.Certificate : System.Security.Cryptography.X509Certificates.X509Certificate2 with get, set
Public Property Certificate As X509Certificate2

Property Value

System.Security.Cryptography.X509Certificates.X509Certificate2

Applies to