Redigera

Dela via


NonceCache.CachingTimeSpan Property

Definition

Gets or sets the maximum timespan after which a nonce is deleted from the cache.

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

Property Value

The maximum timespan after which a nonce is deleted from the cache. This value should be at least twice the maximum clock skew added to the replay window size.

Exceptions

An attempt to set a value that is less than Zero occurs.

-or-

An attempt to set a value greater than the allowed maximum occurs.

Applies to