I am building a simple application that listens to NetworkAvailibilityChanged Event. It’s all good, except in the case of a modem PPP interface connection, where the app gets notified of the availibility only when the network is connected but not when disconnected.
Am I missing anything? I tried it for LAN and it worked perfectly.
Here is what the NetworkAvailbilityChanged touches.
According to these it seems that if its telling you there is network, it should also tell you there is not network. It also appears to work off of the Address for each device. When the Address changes, it calls ChangedAddress.
Take a look at these and see if you get a clearer picture of what is going on behind the scenes.