The method below vefiry the internet connection in the easiest way as possible.
public bool InternetConnectionAvailable() { bool connectionAvailable = false; if (System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable()) { connectionAvailable = true; } return connectionAvailable; }