Click or drag to resize
ValidationHelperValidateHashes Method
Validates the hashes for the given values.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
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: Boolean
Exceptions
ExceptionCondition
ArgumentNullExceptionIf either values or hashes are null.
ArgumentExceptionIf number of hashes does not match the number of values.
See Also