摘要: static bool CheckInternetConnection() { try { Ping ping = new Ping(); PingReply reply = ping.Send("8.8.8.8"); return reply.Status == IPStatus.Success; 阅读全文
posted @ 2024-08-31 04:19 网络来者 阅读(36) 评论(0) 推荐(0)