ServicePointManager.CheckCertificateRevocationList Proprietà

Definizione

Ottiene o imposta un valore Boolean che indica se il certificato viene verificato rispetto all'elenco di revoche dell'autorità di certificazione.

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

Valore della proprietà

true se l'elenco certificati revocati è verificato; in caso contrario, false.

Esempio

Nell'esempio di codice seguente viene impostata questa proprietà.

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

Commenti

CheckCertificateRevocationList Quando è true, il certificato viene controllato nell'elenco di revoche dell'autorità di certificazione, come parte del processo di convalida del certificato. Il valore predefinito è false.

Si applica a

Vedi anche