摘要: 记录备用1 usingSystem.Net.NetworkInformation;2 boolbNetOK=NetworkInterface.GetIsNetworkAvailable();补充bool IsExistNet(){if(NetworkInterface.GetIsNetworkAvailable()){if(NetworkInterface.NetworkInterfaceType==NetworkInterfaceType.None){return false;}return true; } return false;} 阅读全文
posted @ 2011-05-19 09:27 sun8134 阅读(449) 评论(0) 推荐(0) 编辑
分享按钮