2017年1月18日
摘要: private bool IsInternetAvailable() { try { Dns.GetHostEntry("www.google.com"); //using System.Net; return true; } catch (SocketException ex) { return false; } ... 阅读全文
posted @ 2017-01-18 20:11 武胜-阿伟 阅读(249) 评论(0) 推荐(0) 编辑