A CAPTCHA is a program that can tell whether its user is a human or a computer. You’ve probably seen them — colorful images with distorted text at the bottom of Web registration forms. CAPTCHAs are used by many websites to prevent abuse from “bots,” or automated programs usually written to generate spam. No computer program can read distorted text as well as humans can, so bots cannot navigate sites protected by CAPTCHAs. – “What is reCAPTCHA“

Replace the public and private key placeholders with those obtained from the previous step

Run the project and navigate to the URL where the control was inserted and you’ll see the control appear.So now it’s rendering within your HTML the next step is to check if the user has entered in the valid words so…

In your code-behind page, or wherever you’re performing the page validation, you simply need to check the Page.IsValid property. If it’s “false” the words were entered incorrectly, an alternatively if it’s “true” then the user entered them correctly.

Share this:

Like this:

Related

I currently live and work in the UK, just outside of London. I've been working in IT for 15+ years and in that time have solved many technical problems via blogs, forums, tutorials etc. and feel like I should be giving something back. This blog post is my way of contributing and I hope it proves just as useful to others as their contributions have to me.