Change Local IP Address?

I was wondering if anyone on here has ever tried to change the local IP address of a Windows machine using Xojo? I know I can do it using the shell and netsh. Is there any other way? Thanks for any advice! :slight_smile:

Never tried it but qhould be possible using declares. See here: https://msdn.microsoft.com/en-us/library/windows/desktop/aa366071(v=vs.85).aspx

Thanks!

I actually ended up using Win32_NetworkAdapterConfiguration class to accomplish this from here:
https://msdn.microsoft.com/en-us/library/aa394217(v=vs.85).aspx

I posted an example to change an IP and revert it back to DHCP here:
https://forum.xojo.com/19289-how-to-get-local-ip-addresses/0#p309482