Click or drag to resize
EmailHashServiceValidateEmailHash Method
Validates given hash against emailAddress.

Namespace: CMS.Newsletters.Internal
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax
C#
public bool ValidateEmailHash(
	string hash,
	string emailAddress
)

Parameters

hash
Type: SystemString
Hash to be validated
emailAddress
Type: SystemString
Email address tracked link is sent to

Return Value

Type: Boolean
True, if given hash is valid; otherwise, false

Implements

IEmailHashValidatorValidateEmailHash(String, String)
Exceptions
ExceptionCondition
ArgumentNullExceptionhash
ArgumentNullExceptionemailAddress
See Also