Set Adapter IP!


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!
Who is Participating?
rstaveleyConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.