.NET中获取字符串的MD5码
1. 先导入命名空间.
2. 转换成MD5码
1. 先导入命名空间.
using System.Web.Security;
2. 转换成MD5码
string Password = FormsAuthentication.HashPasswordForStoringInConfigFile(TextBox1.Text.ToString(), "MD5");