anyone know how to detect if an Internet Connection is still present or has been dropped? Other than seeing if a webpage loads.

i want to be able to insert a code into the Form Load and have it monitor the net connection and pause my app if connection is lost.