Click to See Complete Forum and Search --> : ipconfig /release in vb .net?


carlhuk
August 5th, 2005, 05:36 AM
is there a way in vb .net of "releasing" a given network adapter? having the same effect as the dos prompt command

"ipconfig /realease [adapter]"

Boumxyz2
August 5th, 2005, 07:15 AM
You could always call the Dos prompt command if it does the work for you.

carlhuk
August 5th, 2005, 07:29 AM
yes i currently have that implemented, however using the dos promt command it will not let me specify the adapter i want to release, but still works when i release all of them!

i was just wondering if some sort of API existed for access to similar functions, where i would be able to release only the adapter i wanted to !

thanks for the reply

Boumxyz2
August 5th, 2005, 10:49 AM
when you specify the adapter try specifying the connection name instead when you look in network favorites properties you can see the name of the connections.

You can name one test and then try ipconfig /release "test"