Search This Blog

Monday, March 25, 2013

Check network availability c#

C# >System.Net > NetworkInformation > NetworkInterface > GetIsNetworkAvailable


GetIsNetworkAvailable indicates whether any network connection is available.

Example
System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable();