HttpsCertificateAnnotation.Certificate Property
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.
Sets an X509Certificate2 instance associated with this annotation. If a certificate is provided, it must have a private key; otherwise, an ArgumentException is thrown when setting the value.
public System.Security.Cryptography.X509Certificates.X509Certificate2? Certificate { get; init; }
member this.Certificate : System.Security.Cryptography.X509Certificates.X509Certificate2 with get, set
Public Property Certificate As X509Certificate2