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

StackOverflow https://stackoverflow.com/questions/11103858

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.

有帮助吗?

解决方案

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

This is also supported on various embedded versions of Windows.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top