August 3, 2007
Network Link Detection in C#
This code snippit will show you how to detect if there is a network link on one of the network adaptors on your system. The function is written in C# and uses the Windows Management Instrumentation to get the link status.
/// <summary>
/// Checks if a network is connected to the local machine.
/// </summary>
/// <returns>true if […]