Solved

IP information in Registry...NT4

Posted on 1997-07-24
1
365 Views
Last Modified: 2008-03-06
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\SOFTWARE\Microsoft\Ncpa\CurrentVersion"

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
0
Comment
Question by:wwalschaerts
1 Comment
 
LVL 3

Accepted Solution

by:
jaba earned 200 total points
Comment Utility
This is wrong way , because changing this information in registry allowed only for administrators and power users (by default) . I am understanding you, you want create programm, allowing to change IP for ordinar users. NT security system will prevent it if currently logged user have no rights to do it :-(
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now