CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2005
    Posts
    13

    ipconfig /release in vb .net?

    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]"

  2. #2
    Join Date
    Sep 2001
    Location
    Montreal Canada
    Posts
    1,080

    Re: ipconfig /release in vb .net?

    You could always call the Dos prompt command if it does the work for you.
    Nicolas Bohemier

  3. #3
    Join Date
    Jul 2005
    Posts
    13

    Re: ipconfig /release in vb .net?

    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

  4. #4
    Join Date
    Sep 2001
    Location
    Montreal Canada
    Posts
    1,080

    Re: ipconfig /release in vb .net?

    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"
    Nicolas Bohemier

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured