人妻无码中文字幕永久在线,99RE6这里有精品热视频,国产成人综合色就色综合 ,蜜臀av在线观看

新聞建站cms系統(tǒng)、政府cms系統(tǒng)定制開發(fā)

廣州網(wǎng)站建設(shè)公司-閱速公司

asp.net新聞發(fā)布系統(tǒng)、報(bào)紙數(shù)字報(bào)系統(tǒng)方案
/
http://www.jdki.com.cn/
廣州網(wǎng)站建設(shè)公司
您當(dāng)前位置:首頁(yè)>網(wǎng)站技術(shù)

網(wǎng)站技術(shù)

HashPasswordForStoringInConfigFile已過時(shí)

發(fā)布時(shí)間:2021/12/17 17:45:37  作者:Admin  閱讀:724  

廣告:

警告 CS0618 “FormsAuthentication.HashPasswordForStoringInConfigFile(string, string)”已過時(shí):“The recommended alternative is to use the Membership APIs, such as Membership.CreateUser. For more information, see http://go.microsoft.com/fwlink/?LinkId=252463.” FeiShareLibrary E:\aspnet2.0\53BK公司網(wǎng)站-net-家里\FeiShareLibrary\Haocookie.cs 79 活動(dòng)

FormsAuthentication.HashPasswordForStoringInConfigFile(string, string)
System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile

System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(sKey, "md5")
換成: NewMD5(sKey, "md5")

public static string NewMD5(string strData,string md5str)
{
string strResult = "";
using (var md5 = MD5.Create())
{
var result = md5.ComputeHash(Encoding.UTF8.GetBytes(strData));
strResult = BitConverter.ToString(result);
strResult= strResult.Replace("-", "").ToUpper();
}
return strResult;
}

廣告:

相關(guān)文章
HashPasswordForStoringInConfigFil
cms新聞系統(tǒng)購(gòu)買咨詢
掃描關(guān)注 廣州閱速軟件科技有限公司
掃描關(guān)注 廣州閱速科技