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 static bool CheckCertificateRevocationList { get; set; }

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: