संपादित करें

इसके माध्यम से साझा किया गया


ServicePointManager.CheckCertificateRevocationList Property

Definition

Gets or sets a Boolean value that indicates whether the certificate is checked against the certificate authority revocation list.

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

Property Value

true if the certificate revocation list is checked; otherwise, false.

Examples

The following code example sets this property.

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

Remarks

When the CheckCertificateRevocationList is true, the certificate is checked against the certificate authority revocation list, as part of the certificate validation process. Its default value is false.

Applies to

See also