Valhalla Legends Forums Archive | Advanced Programming | WMI, Protocol settings?

AuthorMessageTime
Grok
Skywing you might know this before anyone else. Where in WMI, if that is the appropriate vehicle, can I find information to change my IP on the fly, the same as you might do by opening the network settings and entering a new IP in Win2000? When we change it there, the new IP takes effect without needing to reboot, and all new connections use the new setting.
October 23, 2003, 1:01 PM
Skywing
[quote author=Grok link=board=23;threadid=3210;start=0#msg25213 date=1066914108]
Skywing you might know this before anyone else. Where in WMI, if that is the appropriate vehicle, can I find information to change my IP on the fly, the same as you might do by opening the network settings and entering a new IP in Win2000? When we change it there, the new IP takes effect without needing to reboot, and all new connections use the new setting.
[/quote]
Note that you don't have to reboot to change IPs in TCP/IP properties (through connection properties) either.

Anyways, if you insist on using WMI, look at Win32_NetworkAdapterConfiguration.
October 23, 2003, 2:15 PM

Search