判断网络是否连接(win8 app HTML&JS)
var networkInfo = Windows.Networking.Connectivity.NetworkInformation; //Retrieve the ConnectionProfile var internetConnectionProfile = networkInfo.getInternetConnectionProfile(); //Pass the returned object to a function that accesses the connection data var connectionProfileInfo = getConnectionProfileInfo(internetConnectionProfile); 原创文章,转载请注明: 转载自Happiness space
本文链接地址: 判断网络是否连接(win8 app HTML&JS)
判断网络是否连接(win8 app HTML&JS)
评论