ServicePointManager.CheckCertificateRevocationList Eigenschap

Definitie

Hiermee wordt een Boolean waarde opgehaald of ingesteld die aangeeft of het certificaat is gecontroleerd op basis van de intrekkingslijst van de certificeringsinstantie.

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

Waarde van eigenschap

true indien de certificaatintrekkingslijst is gecontroleerd; anders, false.

Voorbeelden

In het volgende codevoorbeeld wordt deze eigenschap ingesteld.

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

Opmerkingen

Wanneer dit CheckCertificateRevocationList het is true, wordt het certificaat gecontroleerd op basis van de intrekkingslijst van de certificeringsinstantie, als onderdeel van het certificaatvalidatieproces. De standaardwaarde is false.

Note

Sinds .NET 9 wordt deze eigenschap toegewezen aan CertificateRevocationCheckMode op SocketsHttpHandler.SslOptions.

Van toepassing op

Zie ook