Native equivalent of the NetworkChange class; how to detect IP address changes in Windows

Is there a native Windows API that does the same thing as the .NET class System.Net.NetworkInformation.NetworkChange?

Basically, I am looking for something to report changes in communications and IP address changes.

+4
source share
1 answer

NotifyAddrChange from the IP Assistant API should be what you are looking for.

To check if the computer is connected to the network, you can use IsNetworkAlive1 .

If you are developing for Windows Vista (or newer), you probably want to take a look at Network List Manager .

+3
source

All Articles