wwalschaerts
asked on
IP information in Registry...NT4
Hello,
I am not sure it is a pure programming question (C language
on NT4).
I need to develop a small program which allows users that
have network restrictions to change IP settings (IP &
Gateway only).
I have some troubles because I found the information using
Regedit but I am not sure the way is correct. I mean I am
not sure it will work in any case.
Here is my 'solution' :
We can see a string in the value 'BindFileEx' in the path
'HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Ncpa\Cu rrentVersi on"
Into that string we can see one 'sub-string' (the second one) which seems to be a path to a subkey containing the
value 'IPAddress'.
Not easy to manage but it work with my computer... but I
am not sure the string position wont change in another PC.
Hum !!! is there any one who can help me ?
Thank a lot.
WW
I am not sure it is a pure programming question (C language
on NT4).
I need to develop a small program which allows users that
have network restrictions to change IP settings (IP &
Gateway only).
I have some troubles because I found the information using
Regedit but I am not sure the way is correct. I mean I am
not sure it will work in any case.
Here is my 'solution' :
We can see a string in the value 'BindFileEx' in the path
'HKEY_LOCAL_MACHINE\SOFTWA
Into that string we can see one 'sub-string' (the second one) which seems to be a path to a subkey containing the
value 'IPAddress'.
Not easy to manage but it work with my computer... but I
am not sure the string position wont change in another PC.
Hum !!! is there any one who can help me ?
Thank a lot.
WW
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.