check internet connection using c#

Checking an Internet Connection in C#

Submitted by donbermoy on
This is a tutorial in which we will going to create a program that can determine if your are connected in the internet or not using C#. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. Name your program internet csharp. 2. Next, add only one Button named Button1 and labeled it as "Check Internet Connection".