只要在winform的解決方案中添加對System.Web.dll的引用即可
加密方法
tPwd = FormsAuthentication.HashPasswordForStoringInConfigFile(tPwd, "MD5");
只要在winform的解決方案中添加對System.Web.dll的引用即可
加密方法
tPwd = FormsAuthentication.HashPasswordForStoringInConfigFile(tPwd, "MD5");
this.richTextBox2.SelectionStart=this.richTextBox2.Text.Length; this.richTextBox2.ScrollToCaret();