Dela via


CertificateValidationCacheOptions.CacheEntryExpiration Property

Definition

Gets or sets the expiration that should be used for entries in the MemoryCache. This is a sliding expiration that will extend each time the certificate is used, so long as the certificate is valid (see X509Certificate2.NotAfter).

public:
 property TimeSpan CacheEntryExpiration { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan CacheEntryExpiration { get; set; }
member this.CacheEntryExpiration : TimeSpan with get, set
Public Property CacheEntryExpiration As TimeSpan

Property Value

Defaults to 2 minutes.

Applies to