Generate a Google ReCaptcha V2 secure token with ASP.NET

I need to generate a secure token for Google's ReCaptcha V2, because I need one key to work on many domains.

The process is described here:

They provide an example on how to do this at But the example uses Java, and I don't know how to translate the encryption stuff to ASP.NET.

Can anyone help?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jitendra PatilSr.Software EngineerCommented:
you can try the other link provided by google, however it is using the older version, i think the logic will be same to use it in the application. can you give it a try to the below link
Using reCAPTCHA with ASP.NET

if you have the dll for recaptch you just need to add a reference to the website and just use it by registering a tag to the webpage and use it in the page as a user control.

hope this helps.
MarjaRAuthor Commented:
Thanks, but I really needed a v2 solution.

Eventually I found one here:
This one is working just fine for my project.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MarjaRAuthor Commented:
Found a working solution myself, as stated in my comment.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.