摘要:
String PageUrl = "url"; try { HttpWebRequest myHttpWebRequest = (HttpWebRequest)WebRequest.Create(PageUrl); myHttpWebRequest.Credentials = Credent... 阅读全文
摘要:
SmtpClient smtp = new SmtpClient("smtp.163.com", 25); smtp.UseDefaultCredentials = true; //若服务器设置了smtp服务信息,则启用默认设置 smtp.Credentials = new NetworkCred... 阅读全文