日期:2014-05-19  浏览次数:20920 次

MD5加密
在我写的WEB服务里有这一句,可以成功执行
using   System.Web.Security;
using   System.Security.Cryptography;

string   PswdStr   =   FormsAuthentication.HashPasswordForStoringInConfigFile( "abc ", "MD5 ");


但在WEBFORM里写的话,不能
using   System.Web.Security;
应如何实现与上面相同的功能呢?


谢谢

------解决方案--------------------
如果你手动添加web.dll的引用看看呢