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