Click or drag to resize
VirtualContextAddPathHash Method
Calculates hash for the given path and appends it to the URL.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static string AddPathHash(
	string path
)

Parameters

path
Type: SystemString
Relative path of the document to get hash for.

Return Value

Type: String
URL passed via parameter path appended with its calculated hash as a query parameter named "uh".
Exceptions
ExceptionCondition
ArgumentNullExceptionIs thrown when path is null or empty.
See Also