Ver originalprivate bool HayInternet() { try { System.Net.IPHostEntry host = System.Net.Dns.GetHostEntry("www.google.com"); return true; } catch { return false; } }