MVC Captcha using dll

Getting started Download latest version of CaptchaMvc from 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. NOTE:Get the example files from right sidebar box widget name captchamvc.zip Once you do that you can use helper methods to…

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