CheckCertificateRevocationList Property

ServicePointManager.CheckCertificateRevocationList Property

 

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

Namespace:   System.Net
Assembly:  System (in System.dll)

Public Shared Property CheckCertificateRevocationList As Boolean

Property Value

Type: System.Boolean

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

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.

The following code example sets this property.

ServicePointManager.UseNagleAlgorithm = True
ServicePointManager.Expect100Continue = True
ServicePointManager.CheckCertificateRevocationList = True
ServicePointManager.DefaultConnectionLimit = _
    ServicePointManager.DefaultPersistentConnectionLimit

SecurityPermission

To set this property. Associated enumeration: UnmanagedCode

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft