MVC Captcha using dll

Getting started Download the latest version of CaptchaMvc from the site or nuget (CaptchaMvc.Mvc3 or CaptchaMvc.Mvc4). Add the reference to CaptchaMvc.dll in your project. Include the namespace (@using CaptchaMvc.HtmlHelpers) of the extension method for the views. 1 <strong>NOTE:Get the example files from <a href="https://codeplexarchive.blob.core.windows.net/archive/projects/captchamvc/captchamvc.zip">captchamvc.zip</a></strong> <strong>NOTE:Get the example files from <a href=”https://codeplexarchive.blob.core.windows.net/archive/projects/captchamvc/captchamvc.zip”>captchamvc.zip</a></strong> Once you do that…

Continue reading

Create your own Captcha

Class Description WebCaptcha class contains private field rndm which is used to generate random numbers. Other properties as their name suggest are self explanatory. CaptchaImg holds the image (System.Drawing.Image) which we will create and our objective. GetRandomCArr is a function which returns a random character array of length passed to this function as a parameter. GetRandomBrushes…

Continue reading