determine network connection availability
Published: 8. January 2009 | Updated: 8. January 2009License: Microsoft Public License (MS-PL)
Categories: Network
Tags: C# Network Windows
Import namespace
using System.Net.NetworkInformation;
Code
bool available = NetworkInterface.GetIsNetworkAvailable();
| Send us feedback about this snippet » |





