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 Client IP address

how to get the Client IP address

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorialquestion
4 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.
  • R Offline
    R Offline
    r aa j
    wrote on last edited by
    #1

    hi, I am developing website using ASP.net with C#.whenever getting Impression I want to store Client Ip address....How we can get the client IP...?if anybody knows plz reply me.. Thanks

    Raaj

    K 1 Reply Last reply
    0
    • R r aa j

      hi, I am developing website using ASP.net with C#.whenever getting Impression I want to store Client Ip address....How we can get the client IP...?if anybody knows plz reply me.. Thanks

      Raaj

      K Offline
      K Offline
      Krazy Programmer
      wrote on last edited by
      #2

      use DNS or Request.ServerVariables["REMOTE_ADDR"];

      If You win You need not Explain............ But If You Loose You Should not be there to Explain......

      R 1 Reply Last reply
      0
      • K Krazy Programmer

        use DNS or Request.ServerVariables["REMOTE_ADDR"];

        If You win You need not Explain............ But If You Loose You Should not be there to Explain......

        R Offline
        R Offline
        r aa j
        wrote on last edited by
        #3

        using that we can get server IP right?

        Raaj

        N 1 Reply Last reply
        0
        • R r aa j

          using that we can get server IP right?

          Raaj

          N Offline
          N Offline
          N a v a n e e t h
          wrote on last edited by
          #4

          r aa j wrote:

          using that we can get server IP right?

          NO

          Navaneeth How to use google | Ask smart questions

          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