ServicePointManager.CheckCertificateRevocationList Propriété

Définition

Obtient ou définit une valeur Boolean qui indique si le certificat est vérifié par rapport à la liste de révocation de l'autorité de certification.

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

Valeur de propriété

true si la liste de révocation de certificats est vérifiée ; sinon, false.

Exemples

L’exemple de code suivant définit cette propriété.

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

Remarques

Lorsque est CheckCertificateRevocationListtrue, le certificat est vérifié par rapport à la liste de révocation de l’autorité de certification, dans le cadre du processus de validation du certificat. Sa valeur par défaut est false.

S’applique à

Voir aussi