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