I am in need of a piece of code that can detect if a network connection is connected or disconnected. The connected state would mean a cable was plugged into the Ethernet co
Check out this MSDN article:
Testing for and Responding to Network Connections in the .NET Compact Framework