Simple Way To Check For a Network Connection
Version Compatibility: Visual Basic.NET
This boolean function is an easy way to look for a network connection in VB.NET. You can easily test this function by calling the function in MessageBox.Show in the load event of the Form object.
Instructions: Copy the declarations and code below and paste directly into your VB project.