Search code examples
c++.netwinapic++-cliwindows-embedded

Is it possible to to programmatically detect changes of IP address on a specific ethernet interface on windows XP?


I can easily check IP addresses programmatically, but is there any way to set up a notification in case the IP address of an in interface changes?

This can be a windos API or .net solution; either is fine.


Solution

  • NotifyAddrChange or one of the other Notify* functions should do the job.

    This is also supported on various embedded versions of Windows.