Detecting 'Network Cable Unplugged' in the Compact Framework
I've been through all of the Stack Overflow answers search comes up with, and neither Google or Bing are showing me any love. I need to know when a network cable has been connected or disconnected on a Windows CE device, preferrably, from a Compact Framework application. I realize I'm answering my own question here, but it was actually a question asked of via email, and I actually spent quite a while finding the answer, so I'm posting it here. So the general answer for how this is detected is that you have to call down into the NDIS driver via an IOCTL and tell it that you're interested in