Export (0) Print
Expand All

SslStream.CheckCertRevocationStatus Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets a Boolean value that indicates whether the certificate revocation list is checked during the certificate validation process.

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

public virtual bool CheckCertRevocationStatus { get; }
/** @property */
public boolean get_CheckCertRevocationStatus ()

public function get CheckCertRevocationStatus () : boolean

Property Value

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

The certificate revocation list contains certificates that have been revoked by the issuer. Checking the list negatively impacts performance but improves application security.

The following code example demonstrates displaying the value of this property.

static void DisplayStreamProperties(SslStream stream)
{
   Console.WriteLine("Can read: {0}, write {1}", stream.CanRead, stream.CanWrite);
   Console.WriteLine("Can timeout: {0}", stream.CanTimeout);
}

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

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

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft