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.HelperAssembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
Return Value
True if webhook is valid; False otherwiseSee Also