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
  1. Home
  2. General Programming
  3. C#
  4. Local IP number?

Local IP number?

Scheduled Pinned Locked Moved C#
jsontutorialquestion
5 Posts 3 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.
  • D Offline
    D Offline
    danneau
    wrote on last edited by
    #1

    Anyone know how to get a machine's local IP number, other than by parsing the output from IPCONFIG?

    J L 2 Replies Last reply
    0
    • D danneau

      Anyone know how to get a machine's local IP number, other than by parsing the output from IPCONFIG?

      J Offline
      J Offline
      Jay Shankar
      wrote on last edited by
      #2

      Please refer the following article on CP: How To Get IP Address Of A Machine[^] Hope this helps.

      D 1 Reply Last reply
      0
      • D danneau

        Anyone know how to get a machine's local IP number, other than by parsing the output from IPCONFIG?

        L Offline
        L Offline
        leppie
        wrote on last edited by
        #3

        Dns.Resolve(Enviroment.Machinename); You can enumerate thru the ip addresses there :p top secret
        Download xacc-ide 0.0.3 now!
        See some screenshots

        1 Reply Last reply
        0
        • J Jay Shankar

          Please refer the following article on CP: How To Get IP Address Of A Machine[^] Hope this helps.

          D Offline
          D Offline
          danneau
          wrote on last edited by
          #4

          Jay... Thank you! That's exactly what I needed. BTW, I really did search CP before posting, but I guess I missed that article.

          J 1 Reply Last reply
          0
          • D danneau

            Jay... Thank you! That's exactly what I needed. BTW, I really did search CP before posting, but I guess I missed that article.

            J Offline
            J Offline
            Jay Shankar
            wrote on last edited by
            #5

            u r welcome.

            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