Change IP settings using C++
- by Chris
How do I change the IP settings of a Windows CE 6 box Programatically via C++? Functions for Windows might also work.
I found that I can change the hostname via sethostname but couldn't find how to change IP address settings such as:
IP Address
DHCP
Subnet
Gateway
DNS1 / DNS2
WINS1 / WINS2
Any advice / pointers would be great.
Thanks.
P.s. How would you get the box to update to those settings - is a refresh or the programming equivalent of ipconfig /renew required?