The Captcha Provider
This article explains how to setup the server-side provider for the Telerik UI Captcha for ASP.NET MVC. The provider generates and validates CAPTCHAs via helper classes and methods.
Setup
The server-side Telerik UI Captcha provider comes with the Telerik.Web.Captcha.dll. To include the dll in your project:
- In your project, right-click References.
- Select Add Reference...
- Click Browse....
- Navigate to the installation folder of the Telerik UI for ASP.NET MVC. The dll is located in the
~/installationFolder/captcha/net40
directory. - Select Telerik.Web.Captcha.dll and click Add.
In the C# backend file or controller, add references to the following namespaces:
using System;
using System.Drawing.Imaging;
using System.IO;
using System.Web.Mvc;
using Telerik.Web.Captcha;
For more information about the usage and integration of the Captcha provider in an ASP.NET MVC application, see the Validation article.