Example #1
0
        public object HybridCode()
        {
            var ch      = new CaptchaHelper();
            var code    = ch.GetRandomEnDigitalText(4);
            var imgbyte = ch.GetEnDigitalCodeByte(code);

            return(File(imgbyte, "image/png"));
        }