Export (0) Print
Expand All

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)

'Declaration
Public Shared Property CheckCertificateRevocationList As Boolean
'Usage
Dim value As Boolean 

value = ServicePointManager.CheckCertificateRevocationList 

ServicePointManager.CheckCertificateRevocationList = value

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
ServicePointManager::UseNagleAlgorithm = true;
ServicePointManager::Expect100Continue = true;
ServicePointManager::CheckCertificateRevocationList = true;
ServicePointManager::DefaultConnectionLimit = ServicePointManager::DefaultPersistentConnectionLimit;

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1

Community Additions

ADD
Show:
© 2014 Microsoft