My team is working on a team project aplication. At the moment, we need an event handler to check the connection status (if it\'s on/off).
I had big hopes in the <
Try this:
bool isNetwork=NetworkInterface.GetIsNetworkAvailable(); if(!isNetwork) { //proceed with your code }