How to change TCP/IP settings in VB.Net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Abel Chan

    How to change TCP/IP settings in VB.Net

    Hi there,

    I have a very similar question like the link below. Basically, I am tired
    of entering IP address, subnet mask, DNS and etc on the TCP/IP General
    Properties tab.

    So, I am looking for a sample project that allows me to load different
    config files (XML or whatever) with different IP settings.

    Thanks so much.

    Abel Chan


  • Kevin Yu [MSFT]

    #2
    RE: How to change TCP/IP settings in VB.Net

    Hi Abel,

    First of all, I would like to confirm my understanding of your issue. From
    your description, I understand that you need to know how to set IP address
    using VB.NET. If there is any misunderstandin g, please feel free to let me
    know.

    As far as I know, we can use WMI to change the IP address of a certain
    device. Here, I found a very good example to show how to do this in .NET.
    However, it's in C#, but I think it will be easy to translate it into
    VB.NET for you. HTH.



    Kevin Yu
    =======
    "This posting is provided "AS IS" with no warranties, and confers no
    rights."

    Comment

    Working...