Solved

Set Adapter IP!

Posted on 2004-09-25
2
334 Views
Last Modified: 2008-03-17
Hello...

With GetAdaptersInfo() i can list all network devices... But now I like to change the Adapter-IP and Subnetmask and so on... Like the Network-Configuration-Dialog.  

But I need APIs... Not the configuration-dialog!

Thanks for advance!
0
Comment
Question by:ChristopH1987
2 Comments
 
LVL 17

Assisted Solution

by:rstaveley
rstaveley earned 100 total points
ID: 12150261
Have you thought of exec-ing netsh?

At the cmd prompt type:

   netsh interface ip /?

You'll get a good idea of what to do with:

   netsh interface ip dump
0
 
LVL 86

Accepted Solution

by:
jkr earned 400 total points
ID: 12150529
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
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.

786 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