C# example of validating webhook signature

Hi @Julian_Elve,

So I have a method for validating the signature as follows:

You could probably simplify it a little to work specifically for Discourse webhooks, but I use it for both Discourse and Github hooks, so needed to be able to change out the sha<x>= part at the beginning.

For Discourse, it’s used like so:

Hope that helps some…!