QueryHelper ValidateHashString Method Kentico 8.0 API Reference
Validates given value against hash.

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

Parameters

value
Type: OnlineSystem String
Value to validate
hash
Type: OnlineSystem String
Hash value
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
hashSalt (Optional)
Type: OnlineSystem String
Salt added to hash count (this hash is not replacing custom salt).

Return Value

Type: OnlineBoolean
True if hash is valid.
See Also