Graphics

C# 用System.Drawing.Graphics 画验证码
.NET

C# 用System.Drawing.Graphics 画验证码

59 0

/// <summary>/// 验证码 继承 System.Web.UI.Page ,Session["xk_validate_code"]/// </summary>public class ValidateImg : System.Web.UI.Page{private void Page_Load(object sender, EventArgs e){char[] chars = "023456789".ToCharArr…