how to get network connection C# code example
Example: check if network is available c#
System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable()
System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable()