Bagikan melalui


ServicePointManager.CheckCertificateRevocationList Properti

Definisi

Mendapatkan atau menetapkan Boolean nilai yang menunjukkan apakah sertifikat diperiksa terhadap daftar pencabutan otoritas sertifikat.

public:
 static property bool CheckCertificateRevocationList { bool get(); void set(bool value); };
public static bool CheckCertificateRevocationList { get; set; }
static member CheckCertificateRevocationList : bool with get, set
Public Shared Property CheckCertificateRevocationList As Boolean

Nilai Properti

true jika daftar pencabutan sertifikat diperiksa; jika tidak, false.

Contoh

Contoh kode berikut mengatur properti ini.

ServicePointManager::UseNagleAlgorithm = true;
ServicePointManager::Expect100Continue = true;
ServicePointManager::CheckCertificateRevocationList = true;
ServicePointManager::DefaultConnectionLimit = ServicePointManager::DefaultPersistentConnectionLimit;
ServicePointManager.UseNagleAlgorithm = true;
ServicePointManager.Expect100Continue = true;
ServicePointManager.CheckCertificateRevocationList = true;
ServicePointManager.DefaultConnectionLimit = ServicePointManager.DefaultPersistentConnectionLimit;
ServicePointManager.UseNagleAlgorithm = True
ServicePointManager.Expect100Continue = True
ServicePointManager.CheckCertificateRevocationList = True
ServicePointManager.DefaultConnectionLimit = _
    ServicePointManager.DefaultPersistentConnectionLimit

Keterangan

CheckCertificateRevocationList Ketika adalah true, sertifikat diperiksa terhadap daftar pencabutan otoritas sertifikat, sebagai bagian dari proses validasi sertifikat. Nilai defaultnya adalah false.

Berlaku untuk

Lihat juga