① 导入命名空间:

 

1 using System.Web.Security;

 

 

 

② 获取MD5码:

 

string Password = FormsAuthentication.HashPasswordForStoringInConfigFile(TextBox1.Text.ToString(), "MD5");

 

相关文章:

  • 2022-12-23
  • 2022-01-28
  • 2022-12-23
  • 2021-12-06
  • 2021-11-12
  • 2022-12-23
  • 2021-11-19
猜你喜欢
  • 2022-12-23
  • 2021-04-05
  • 2021-10-02
  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
  • 2021-11-21
相关资源
相似解决方案