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. Web Development
  3. ASP.NET
  4. How to get the IP number ??

How to get the IP number ??

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsysadmintutorialquestion
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.
  • M Offline
    M Offline
    MehmetFurkan
    wrote on last edited by
    #1

    We are developping a Web Application using Asp.Net. We need to find out the IP number of a client running the Web Browser on a remote desktop connection. In other words, this user opens a Remote Desktop Connection on another remote server and runs the WebBrowser on this remote server, and we need actually the IP number of this user OWN machine. In fact we could get the user client IP easily using the statement "HttpContext.Current.Request.UserHostAddress, but this brings us, naturally, the IP number of the machine on which the RDP connection has been opened. What we need is possible? How to to it? Thanks in advence.

    C 1 Reply Last reply
    0
    • M MehmetFurkan

      We are developping a Web Application using Asp.Net. We need to find out the IP number of a client running the Web Browser on a remote desktop connection. In other words, this user opens a Remote Desktop Connection on another remote server and runs the WebBrowser on this remote server, and we need actually the IP number of this user OWN machine. In fact we could get the user client IP easily using the statement "HttpContext.Current.Request.UserHostAddress, but this brings us, naturally, the IP number of the machine on which the RDP connection has been opened. What we need is possible? How to to it? Thanks in advence.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Please don't cross post. No way an ASP.NET app can cause te browser to work out it's running in a remote desktop, find the host IP and send it back to you.

      Christian Graus Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.

      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