ServicePointManager.CheckCertificateRevocationList Vlastnost

Definice

Získá nebo nastaví Boolean hodnotu, která označuje, zda je certifikát zkontrolován proti seznamu odvolaných certifikačních autorit.

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

Hodnota vlastnosti

truepokud je zaškrtnut seznam odvolaných certifikátů; v opačném případě . false

Příklady

Následující příklad kódu nastaví tuto vlastnost.

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

Poznámky

Pokud je CheckCertificateRevocationListtrue, certifikát se v rámci procesu ověření certifikátu kontroluje proti seznamu odvolaných certifikačních autorit. Jeho výchozí hodnota je false.

Platí pro

Viz také