Class VaryingRuntimeHash
A runtime hash this is always different on each app startup
Inheritance
object
Namespace: Umbraco.Cms.Core.Composing
Assembly: Umbraco.Core.dll
Syntax
public sealed class VaryingRuntimeHash : IRuntimeHash
Constructors
View SourceVaryingRuntimeHash()
Initializes a new instance of the VaryingRuntimeHash class.
Declaration
public VaryingRuntimeHash()
Remarks
The hash value is generated based on the current timestamp, ensuring a unique hash on each application startup.
Methods
View SourceGetHashValue()
Gets the hash value representing the current runtime state.
Declaration
public string GetHashValue()
Returns
| Type | Description |
|---|---|
| string | A string hash value that changes when the runtime changes. |