HttpsConnectionAdapterOptions.ServerCertificate 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.
Specifies the server certificate information presented when an https connection is initiated. This is ignored if ServerCertificateSelector is set.
If the server certificate has an Extended Key Usage extension, the usages must include Server Authentication (OID 1.3.6.1.5.5.7.3.1).
public:
property System::Security::Cryptography::X509Certificates::X509Certificate2 ^ ServerCertificate { System::Security::Cryptography::X509Certificates::X509Certificate2 ^ get(); void set(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ value); };
public System.Security.Cryptography.X509Certificates.X509Certificate2 ServerCertificate { get; set; }
public System.Security.Cryptography.X509Certificates.X509Certificate2? ServerCertificate { get; set; }
member this.ServerCertificate : System.Security.Cryptography.X509Certificates.X509Certificate2 with get, set
Public Property ServerCertificate As X509Certificate2