Click or drag to resize
QueryHelperGetHash Method (String, Boolean, Boolean)
Generates hash for given QueryString.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static string GetHash(
	string input,
	bool isQueryString,
	bool userSpecific = true
)

Parameters

input
Type: SystemString
Query string starting with '?' or complete url
isQueryString
Type: SystemBoolean
Indicates if input is query string or url
userSpecific (Optional)
Type: SystemBoolean
Indicates if the hash string is bound to current user

Return Value

Type: String
SHA256 hash of query string
See Also