摘要:
记录备用1 usingSystem.Net.NetworkInformation;2 boolbNetOK=NetworkInterface.GetIsNetworkAvailable();补充bool IsExistNet(){if(NetworkInterface.GetIsNetworkAvailable()){if(NetworkInterface.NetworkInterfaceType==NetworkInterfaceType.None){return false;}return true; } return false;} 阅读全文