Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. How to configure TCPIP programatically

How to configure TCPIP programatically

Scheduled Pinned Locked Moved C#
windows-admintutorialquestionannouncement
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    s196675m
    wrote on last edited by
    #1

    when I open the property dialog for Internet protocol version 4 (TCP/IP) for any connection, there is a advanced button. If I click this advanced button, another dialog will showup. For the IP setting tabs, I can add or remove IP addess to/from this list box. Now I want to do same thing programatically. Is there any way to do it? I tried to add IP address to the registry manually, even it does showup this dialog but I am not able to ping this this newly added Ip address from another machine but When I add IP address manually using this dialog box, it works fine. Is there any way to copy this same functionalities to add IP address to this box. Any advice or hint will be appreciated greatly. Thank you.

    L 1 Reply Last reply
    0
    • S s196675m

      when I open the property dialog for Internet protocol version 4 (TCP/IP) for any connection, there is a advanced button. If I click this advanced button, another dialog will showup. For the IP setting tabs, I can add or remove IP addess to/from this list box. Now I want to do same thing programatically. Is there any way to do it? I tried to add IP address to the registry manually, even it does showup this dialog but I am not able to ping this this newly added Ip address from another machine but When I add IP address manually using this dialog box, it works fine. Is there any way to copy this same functionalities to add IP address to this box. Any advice or hint will be appreciated greatly. Thank you.

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      Maybe you will find the IP Helper API useful. link[^]

      led mike

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups