Click or drag to resize
QueryHelperValidateHashString Method (String, String, Boolean, Boolean, String)

Note: This API is now obsolete.

Validates given value against hash.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("Use method ValidateHashString(value, hash, settings)")]
public static bool ValidateHashString(
	string value,
	string hash,
	bool userSpecific,
	bool redirect = true,
	string hashSalt = null
)

Parameters

value
Type: SystemString
Value to validate
hash
Type: SystemString
Hash value
userSpecific
Type: SystemBoolean
Indicates if the hash string is bound to current user
redirect (Optional)
Type: SystemBoolean
Indicates whether or not should the method redirect
hashSalt (Optional)
Type: SystemString
Salt added to hash count (this hash is not replacing custom salt).

Return Value

Type: Boolean
True if hash is valid.
See Also