how to extract ip from the connected user to server on wireless connection?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gokkie
    New Member
    • Aug 2010
    • 1

    how to extract ip from the connected user to server on wireless connection?

    how to extract ip from the connected user to server on wireless connection?
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Are you talking about an ASP.NET application?
    If so use the Request.UserHos tAddress property to get the IP of the person connected to the application.

    -Frinny

    Comment

    • Sfreak
      New Member
      • Mar 2010
      • 64

      #3
      Gokkie,


      Take a look at System.Net.Netw orkInformation library. There are many methods related to IP information and other network information.

      There you can have the entire list of NICs and its related IPs.

      Hope it can help you

      Fernando Mello

      Comment

      • wissels
        New Member
        • Aug 2010
        • 2

        #4
        IP extraction

        You can extract IP from the connected socket.

        Socket.remoteIP ENDpoint.ToStri ng()
        Socket.localIPE ndpoint.ToStrin g()

        Comment

        Working...