C# 将网址转换为16进制可用网址,防盗链,%%
string netName = this.TextBox1.Text.ToString().Trim();
char[] charNet =
netName.ToCharArray();
string Hstr = null;
for (int i = 0; i < charNet.Length; i++)
{
}
string ss = string.Format("<script>window.open('http://{0}')</script>",Hstr);
this.Response.Write(ss);
//防君子不防小人