摘要:
DESCryptoServiceProvider des = new DESCryptoServiceProvider();
byte[] inputByteArray = System.Text.Encoding.Default.GetBytes(pToEncrypt);
des.Key = System.Text.ASCIIEncoding.ASCII.GetBytes(sKey);
des.IV = System.Text.ASCIIEncoding.ASCII.GetBytes(sKey);
MemoryStream ms = new MemoryStream();
阅读全文
摘要:
public static void SendMailAsSMTP(string strMailFromAddr, string strMailFromName, string strTo, string strSubject, string strBody)
阅读全文