ValidationHelperValidateHashes Method |
Validates the hashes for the given values.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static bool ValidateHashes(
IList<string> values,
IList<string> hashes,
HashSettings settings = null
)
Parameters
- values
- Type: System.Collections.GenericIListString
Values - hashes
- Type: System.Collections.GenericIListString
Hashes - settings (Optional)
- Type: CMS.HelpersHashSettings
Hash settings
Return Value
Type:
BooleanExceptions Exception | Condition |
---|
ArgumentNullException | If either values or hashes are null. |
ArgumentException | If number of hashes does not match the number of values. |
See Also