摘要: public void ProcessRequest (HttpContext context) { context.Response.ContentType = "image/jpeg"; //获得验证码符号 string code = GetCode(); Image img = GetImage(code); //保存生成的验证码图片 img.Save(context.Response.OutputStream, ImageFormat.Jpeg); } /// /// 生成验... 阅读全文
posted @ 2013-10-28 21:05 公羊天纵 阅读(649) 评论(6) 推荐(1) 编辑