C#生成中文汉字验证码
C#生成中文汉字验证码[@more@]using System;using System.Text;namespace ConsoleApplication{class ChineseCode {public static void Main(){//获取GB2312编码页(表)Encoding gb=Encoding.GetEncoding("gb2312");//调用函数产生4个随机中文汉字编码object[] bytes=CreateRegionCode(4);//根据汉字编码的字节数组解码出中文汉字string str1=gb.GetString((byte[])Convert.ChangeType(bytes[0],typeof(byte[])));string str2=gb.GetString((byte[])Convert.ChangeType(bytes[1],typeof(byte[])));string str3=gb.GetString(