ServicePointManager.CheckCertificateRevocationList Özellik

Tanım

Sertifikanın sertifika yetkilisi iptal listesinde denetlenip denetlenmediğini belirten bir Boolean değer alır veya ayarlar.

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

Özellik Değeri

true sertifika iptal listesi işaretliyse; aksi takdirde , false.

Örnekler

Aşağıdaki kod örneği bu özelliği ayarlar.

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

Açıklamalar

CheckCertificateRevocationList olduğundatrue, sertifika, sertifika doğrulama işleminin bir parçası olarak sertifika yetkilisi iptal listesine göre denetlenir. Varsayılan değeri şeklindedir false.

Note

.NET 9'dan bu yana, bu özellik üzerinde ile CertificateRevocationCheckMode eşler SocketsHttpHandler.SslOptions.

Şunlara uygulanır

Ayrıca bkz.