If you have a question like "How to check internet connectivity from C# or VB code ?" than this small article is for you. Enjoy.
In most of the programs we need to check if the internet is working or not or if internet is available or not.
A good news for your guys.
You can now check for internet connectivity from your C# code with few lines of code given below.
Try it and let me know what you think in the comment section below.
Even if you need code in VB for checking internet connectivity than I am just posting below. :-)
Home » Basics » CSharp » Internet Connectivity » Tips And Tricks » VB » Checking internet connectivity from C#/VB Code