ServicePointManager.CheckCertificateRevocationList Propriedade

Definição

Obtém ou define um valor Boolean que indica se o certificado é verificado em relação à lista de revogação de autoridade de certificação.Gets or sets a Boolean value that indicates whether the certificate is checked against the certificate authority revocation list.

public:
 static property bool CheckCertificateRevocationList { bool get(); void set(bool value); };
public static bool CheckCertificateRevocationList { get; set; }
member this.CheckCertificateRevocationList : bool with get, set
Public Shared Property CheckCertificateRevocationList As Boolean

Valor da propriedade

Boolean

true se a lista de certificados revogados é verificada; caso contrário, false.true if the certificate revocation list is checked; otherwise, false.

Exemplos

O exemplo de código a seguir define essa propriedade.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;
ServicePointManager.UseNagleAlgorithm = True
ServicePointManager.Expect100Continue = True
ServicePointManager.CheckCertificateRevocationList = True
ServicePointManager.DefaultConnectionLimit = _
    ServicePointManager.DefaultPersistentConnectionLimit

Comentários

Quando o CheckCertificateRevocationList é true , o certificado é verificado na lista de revogação da autoridade de certificação, como parte do processo de validação do certificado.When the CheckCertificateRevocationList is true, the certificate is checked against the certificate authority revocation list, as part of the certificate validation process. Seu valor padrão é false.Its default value is false.

Aplica-se a

Confira também