Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I would like to know if there is a notification mechanism in C# for IP address change for a particular network interface.

I know that NetworkChange.NetworkAddressChanged can be made use to detect in IP change but I am looking for micro details like IPv4/IPv6, DNS and gateway IP change notifications.

Thanks for the help.
Posted
Updated 7-Aug-11 23:56pm
v2
Comments
Slacker007 8-Aug-11 5:57am    
Edited for readability and some formatting.

1 solution

I do not think you can get this detailed info on a NetworkAddressChanged event.
What about get all the detailed when your program starts and when you receive NetworkAddressChanged event, get all the detailed again and then compare to find what has changed.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900