QueryHelper ValidateHash Method Kentico 8.0 API Reference
Validates given QueryString against hash.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

name
Type: OnlineSystem String
Name of hash parameter in query string
excludedParameters (Optional)
Type: OnlineSystem String
Parameters to exclude from hash validation. Multiple names separated by ';'.
userSpecific (Optional)
Type: OnlineSystem Boolean
Indicates if the hash string is bound to current user
redirect (Optional)
Type: OnlineSystem Boolean
Indicates whether or not should the method redirect
validateWithoutExcludedParameters (Optional)
Type: OnlineSystem Boolean
Indicates if the query string is validated without the excluded parameters if validation with excluded parameters fails
hashSalt (Optional)
Type: OnlineSystem String
Salt added to hash count (this hash is not replacing custom salt).

Return Value

Type: OnlineBoolean
True if query string is valid.
See Also