tanveery / recaptcha-net

reCAPTCHA for .NET library lets you easily use Google's reCAPTCHA in an ASP.NET Web Forms / MVC / ASP.NET Core application.
Apache License 2.0
161 stars 68 forks source link

reCaptcha lib v2.1 shows old style captcha #40

Closed Ori4 closed 5 years ago

Ori4 commented 6 years ago

I am using Recaptcha.Web.dll v2.1.0.0 but, when run, shows the older version, i.e., 2 words instead of the newer "I am not a robot" with checkbox. Any ideas why? Help most appreciated.

Ori

dhbotha commented 6 years ago

I am sitting with the same issue. Were you able to solve this? And how? DHB

classdroogies commented 6 years ago

You must set ApiVersion to 2, default is 1. See webconfig file in sample code.

https://github.com/tanveery/recaptcha-net/blob/master/samples/RecaptchaWebFormSample/Web.config

tanveery commented 5 years ago

Thank you @classdroogies for responding to the queries from @Ori4 and @dhbotha