Bagikan melalui


HttpsConnectionAdapterOptions.ServerCertificate Properti

Definisi

Menentukan informasi sertifikat server yang disajikan ketika koneksi https dimulai. Ini diabaikan jika ServerCertificateSelector diatur.

Jika sertifikat server memiliki ekstensi Extended Key Usage, penggunaan harus menyertakan Autentikasi Server (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

Nilai Properti

Berlaku untuk