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: https://developers.google.com/recaptcha/docs/secure_token

They provide an example on how to do this at https://github.com/google/recaptcha-java/tree/master/appengine. But the example uses Java, and I don't know how to translate the encryption stuff to ASP.NET.

Can anyone help?
LVL 1
MarjaRAsked:
Who is Participating?
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.
0
MarjaRAuthor Commented:
Thanks, but I really needed a v2 solution.

Eventually I found one here: https://github.com/pnmcosta/recaptchav2dotnet
This one is working just fine for my project.
0

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.
0
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
ASP.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.