[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Set Adapter IP!

Posted on 2004-09-25
2
Medium Priority
?
343 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 400 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 1600 total points
ID: 12150529
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
Suggested Courses

834 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