NonceCache Class
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.
An abstract base class that represents a cache for nonces.
public ref class NonceCache abstract
public abstract class NonceCache
type NonceCache = class
Public MustInherit Class NonceCache
- Inheritance
-
NonceCache
You must override the CheckNonce(Byte[]) and TryAddNonce(Byte[]) methods.
Nonce |
Called from constructors in derived classes to initialize the NonceCache class. |
Cache |
Gets or sets the maximum size of the cache specified as the number of nonces that the cache can contain. |
Caching |
Gets or sets the maximum timespan after which a nonce is deleted from the cache. |
Check |
When overridden in a derived class, returns a value that indicates whether the specified nonce is already in the cache. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Try |
When overridden in a derived class, attempts to add the specified nonce to the cache. |
Продукт | Версии |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: