2010年12月4日
摘要: using System;using System.Text;using System.Security.Cryptography;using System.IO; public class Des { private static string key = "zhoufoxcn"; public string DesEncrypt(string encryptString) { byte[] k... 阅读全文
posted @ 2010-12-04 19:15 gotolovo 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 在项目中做发送邮件功能时,由于使用的是代理,所以System.Net.Mail.SmtpClient 提示身份验证失败改成System.Web.Mail.SmtpClient 就可以了。该类只有一个Host属性。。貌似只要端口25才可以 阅读全文
posted @ 2010-12-04 18:51 gotolovo 阅读(213) 评论(0) 推荐(0) 编辑