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. .NET (Core and Framework)
  4. Router External IP address resolution...

Router External IP address resolution...

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpsysadmin
3 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.
  • C Offline
    C Offline
    Chris Quick
    wrote on last edited by
    #1

    Are there any good articles or resources available for resolving the external IP address of a router from an internal computer. I have a computer that is using 192.168.0.x and I want to know the external IP address of the router that is located on the same network. I have looked at the System.Net namespace, and it appears to have a very limited functionality for IP address querying, unless I'm missing something. Thanks in advance!

    A P 2 Replies Last reply
    0
    • C Chris Quick

      Are there any good articles or resources available for resolving the external IP address of a router from an internal computer. I have a computer that is using 192.168.0.x and I want to know the external IP address of the router that is located on the same network. I have looked at the System.Net namespace, and it appears to have a very limited functionality for IP address querying, unless I'm missing something. Thanks in advance!

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      How to ping an IP address by using sockets in Visual Basic .NET http://support.microsoft.com/default.aspx?scid=kb;en-us;828993

      1 Reply Last reply
      0
      • C Chris Quick

        Are there any good articles or resources available for resolving the external IP address of a router from an internal computer. I have a computer that is using 192.168.0.x and I want to know the external IP address of the router that is located on the same network. I have looked at the System.Net namespace, and it appears to have a very limited functionality for IP address querying, unless I'm missing something. Thanks in advance!

        P Offline
        P Offline
        Peter Ritchie
        wrote on last edited by
        #3

        Unless your router has a specific means of requesting that information (I know of none that do) you have to go outside the WAN and come back in. There's several sites out that perform this like http://www.talkswitch.com/wap/checkip.php[^], http://www.historians.org/HistoryCoop/IPCheck.cfm[^] or http://ip.discoveryvip.com/[^] PeterRitchie.com

        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