ServicePointManager.CheckCertificateRevocationList Свойство

Определение

Возвращает или задает Boolean значение, указывающее, проверяется ли сертификат в списке отзыва центра сертификации.

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

Значение свойства

true Значение , если проверяется список отзыва сертификатов; falseв противном случае .

Примеры

Следующий пример кода задает это свойство.

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

Комментарии

CheckCertificateRevocationList В этом trueслучае сертификат проверяется в списке отзыва центра сертификации в рамках процесса проверки сертификата. Значение по умолчанию — false.

Note

Начиная с .NET 9, это свойство сопоставляется с CertificateRevocationCheckModeSocketsHttpHandler.SslOptions.

Применяется к

См. также раздел