摘要:
bool IsValidEmail(string strIn) { // Return true if strIn is in valid e-mail format. return Regex.IsMatch(strIn, @"^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0... 阅读全文
摘要:
1、方法一(不可逆加密)publicstringEncryptPassword(stringPasswordString,stringPasswordFormat){stringencryptPassword=null;if(PasswordFormat="SHA1"){encryptPassword=FormsAuthortication.HashPasswordForStoringInConf... 阅读全文
摘要:
1、方法一(不可逆加密)publicstringEncryptPassword(stringPasswordString,stringPasswordFormat){stringencryptPassword=null;if(PasswordFormat="SHA1"){encryptPassword=FormsAuthortication.HashPasswordForStoringInConf... 阅读全文