Possible Duplicate:
Best way to programmatically configure network adapters in .NET
New to C# with a Java background. I'm looking for a way that allows me to add a second IP address to a NIC card.
I've implemented the solution here but could not get it too work. http://www.pinvoke.net/default.aspx/iphlpapi.addipaddress
I'd prefer not to use pinvoke and hoped there was a way to do this using c#, can anyone help ? thanks..