无码国产精成人午夜视频不卡,久久久无码精品亚洲日韩蜜桃 ,国产亚洲欧美日韩在线一区 ,狠狠色丁香婷婷综合久久来来去

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

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

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

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

HashPasswordForStoringInConfigFile已過(guò)時(shí)

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

廣告:

警告 CS0618 “FormsAuthentication.HashPasswordForStoringInConfigFile(string, string)”已過(guò)時(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)買(mǎi)咨詢(xún)
掃描關(guān)注 廣州閱速軟件科技有限公司
掃描關(guān)注 廣州閱速科技