Click to See Complete Forum and Search --> : How to check if an IP is bound to an adapter on Windows.


pcrouch
November 12th, 2009, 02:45 AM
Hello,

I need to check if an ip has already bound to an adapter or not. While binding it, I am using windows' AddIPAddress(); somewhere I need to check if that ip is added to that adapter, but could not find related windows method for that.

VictorN
November 12th, 2009, 04:06 AM
Well, I never used IP Helper functions, so can only guess...
Did you try call GetAdaptersInfo to search for all current IP addresses for all the adapters of your PC?
Managing Network Adapters (http://msdn.microsoft.com/en-us/library/aa366312(VS.85).aspx?ppud=4)

pcrouch
December 5th, 2009, 11:05 AM
Thanks....