Change IP configuration using C++
This sample illustrates how to programmatically change an IP address for a specific network adapter on your machine. This program also demonstrates how to retrieve existing network adapter IP configuration information using Win32 APIs.
Read More