I looked at this some more and found in the registry where the
information is. It's in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XXX\Parameters\Tcpip
where XXX is the name of the networkcard. I've not tried to change the
parameters yet. Anybody here that knows if the is any API for changing
the IP address. Or does anybody know if the system know at once when I
change in the regestry. Or is there some API that tells the system that
I've updated the regestry.
Jens Yllman
> Hello,
> I want to change the IP address of the machin/network card from a
> program. I've looked at the regestry but can't find it. Does anybody
> know if it is possible? And if so, how? I want it to change without
> restarting the machine.
> Jens Yllman
> ------------------------------------------------------------
> Uniweb AB Phone: +46 8 626 42 00
> P O Box 745 FAX: +46 8 626 42 01
> S-191 27 SOLLENTUNA
> SWEDEN http://www.uniweb.se/
--
------------------------------------------------------------
Uniweb AB Phone: +46 8 626 42 00
P O Box 745 FAX: +46 8 626 42 01
S-191 27 SOLLENTUNA
SWEDEN http://www.uniweb.se/