QueryHelperValidateHash Method |
Validates given QueryString against hash.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public static bool ValidateHash(
string name,
string excludedParameters = null,
HashSettings settings = null,
bool validateWithoutExcludedParameters = false
)
Parameters
- name
- Type: SystemString
Name of hash parameter in query string - excludedParameters (Optional)
- Type: SystemString
Parameters to exclude from hash validation. Multiple names separated by ';'. - settings (Optional)
- Type: CMS.HelpersHashSettings
Hash settings - validateWithoutExcludedParameters (Optional)
- Type: SystemBoolean
Indicates if the query string is validated without the excluded parameters if validation with excluded parameters fails
Return Value
Type:
BooleanTrue if query string is valid.
See Also