ServicePointManager.CheckCertificateRevocationList Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.