摘要: 示例: 阅读全文
posted @ 2016-05-16 14:00 心随风而逝 阅读(1069) 评论(0) 推荐(0)
摘要: XML结构: /// /// 获取到xml数据集中所需节点数据 /// /// /// /// public List> GetXMLData(string Path,string NodeName) { List> listLMont = new Lis... 阅读全文
posted @ 2015-11-10 10:13 心随风而逝 阅读(348) 评论(0) 推荐(0)
摘要: private static bool sendMail() { try { //接收人邮箱 string SendTo = "XXXXX@163.com"; //抄送人邮箱 string SendCC = "YYYYY@163.com"; MailMessage message = new MailMessage(); //发送人邮箱 ... 阅读全文
posted @ 2013-11-18 17:27 心随风而逝 阅读(528) 评论(0) 推荐(0)
摘要: //获取配置文件中的需要监控项private static string MonitorServe = ConfigurationSettings.AppSettings["MonitorServe"]; static void Main(string[] args) { StartMonitor(); } /// /// 开启监控 /// private static void StartMonitor() { int Proceed... 阅读全文
posted @ 2013-11-18 10:47 心随风而逝 阅读(747) 评论(4) 推荐(0)