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. [Message Deleted]

[Message Deleted]

Scheduled Pinned Locked Moved ASP.NET
7 Posts 5 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
    mr_muskurahat
    wrote on last edited by
    #1

    [Message Deleted]

    S S C 3 Replies Last reply
    0
    • M mr_muskurahat

      [Message Deleted]

      S Offline
      S Offline
      SeMartens
      wrote on last edited by
      #2

      Hi, it is easy to get the client IP-Address with Request.ServerVariables["REMOTE_ADDR"] If the client pc is a part of your intranet than you could try to use DNS to resolve the computer name from the IP. If this is not the case, you could try to accomplish this by using JavaScript, to get the name on the client side and then send this information to your server. Hope this helps. Regards Sebastian

      It's not a bug, it's a feature! Me in Softwareland.

      M 1 Reply Last reply
      0
      • S SeMartens

        Hi, it is easy to get the client IP-Address with Request.ServerVariables["REMOTE_ADDR"] If the client pc is a part of your intranet than you could try to use DNS to resolve the computer name from the IP. If this is not the case, you could try to accomplish this by using JavaScript, to get the name on the client side and then send this information to your server. Hope this helps. Regards Sebastian

        It's not a bug, it's a feature! Me in Softwareland.

        M Offline
        M Offline
        mr_muskurahat
        wrote on last edited by
        #3

        it gives ip address not the computer name please check..anyways thanks for response..

        umerumerumer

        A S 2 Replies Last reply
        0
        • M mr_muskurahat

          [Message Deleted]

          S Offline
          S Offline
          SachinKumar M
          wrote on last edited by
          #4

          try this one... Dim strcomputername As String Dim host As System.Net.IPHostEntry host = System.Net.Dns.GetHostEntry(Request.ServerVariables.Item("REMOTE_HOST")) strcomputername = host.HostName

          1 Reply Last reply
          0
          • M mr_muskurahat

            it gives ip address not the computer name please check..anyways thanks for response..

            umerumerumer

            A Offline
            A Offline
            Abhijit Jana
            wrote on last edited by
            #5

            I don't think so that you will able to retreive computer name. YoU will just get the IP Address.

            cheers, Abhijit My Recent Article : Beginner's Guide To View State

            1 Reply Last reply
            0
            • M mr_muskurahat

              it gives ip address not the computer name please check..anyways thanks for response..

              umerumerumer

              S Offline
              S Offline
              SeMartens
              wrote on last edited by
              #6

              Well that's what I said.

              SeMartens wrote:

              it is easy to get the client IP-Address with

              It's not a bug, it's a feature! Me in Softwareland.

              1 Reply Last reply
              0
              • M mr_muskurahat

                [Message Deleted]

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

                You must be the stupidest person on the internet. You have been asked over and over how to get client information from a server. You have been told over and over that this is not possible. Why do you keep asking ?

                Christian Graus Driven to the arms of OSX by Vista.

                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