hi there
i found a solution for this problem:
the ip setting for each lan-adapter are stored in the registry under keys [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{"ClassID of the Adapter"}]
and
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\{"ClassID of the Adapter"}]
you can change the settigs of ip adress, gateway, dns and many other things (which were unnessesary to me) *gg*
i found out, that you have to deactivate the lan-connection and reactivate it to make it change the settings propperly.
to write in the registry with code is very simple (i dunno if you need rights for that)
only the de- and reactivation is difficult to realize by code. i don't know yet how to do so.
hope that helps
cu thedoode