ServicePointManager.CheckCertificateRevocationList Propiedad

Definición

Obtiene o establece un valor Boolean que indica si el certificado se coteja con la lista de revocación de la entidad de certificación.

C#
public static bool CheckCertificateRevocationList { get; set; }

Valor de propiedad

Es true si la lista de revocación de certificados se comprueba; en caso contrario, es false.

Ejemplos

En el ejemplo de código siguiente se establece esta propiedad.

C#
ServicePointManager.UseNagleAlgorithm = true;
ServicePointManager.Expect100Continue = true;
ServicePointManager.CheckCertificateRevocationList = true;
ServicePointManager.DefaultConnectionLimit = ServicePointManager.DefaultPersistentConnectionLimit;

Comentarios

CheckCertificateRevocationList Cuando es true, el certificado se comprueba en la lista de revocación de la entidad de certificación, como parte del proceso de validación de certificados. Su valor predeterminado es false.

Se aplica a

Producto Versiones
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

Consulte también