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

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

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