CertificateValidationCacheOptions.CacheEntryExpiration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.