WebHookValidator IsValid Method CTCT Wrapper Documented Class Library
To verify that the request came from Constant Contact, compute the HMAC digest and compare it to the value in the x-ctct-hmac-sha256 header. If they match, you can be sure that the webhook was sent by Constant Contact and the message has not been compromised.

Namespace: CTCT.Webhooks.Helper
Assembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public bool IsValid()

Return Value

True if webhook is valid; False otherwise
See Also