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. Visual Basic
  4. How to get client IP Address ?

How to get client IP Address ?

Scheduled Pinned Locked Moved Visual Basic
questioncsharptutorial
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
    cheeken2u
    wrote on last edited by
    #1

    I developing a window application using vb.net, i need to do a write log function to keep track the client trasaction, how do i get the client pc's IP Address ?

    Best regards, Chee ken

    S D 2 Replies Last reply
    0
    • C cheeken2u

      I developing a window application using vb.net, i need to do a write log function to keep track the client trasaction, how do i get the client pc's IP Address ?

      Best regards, Chee ken

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

      hi by using ipconfig you can get that try to use that as console application..... c:\ ipconfig you can get that regards srichand

      1 Reply Last reply
      0
      • C cheeken2u

        I developing a window application using vb.net, i need to do a write log function to keep track the client trasaction, how do i get the client pc's IP Address ?

        Best regards, Chee ken

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        That depends on your server. Either the client gets its own IP address and sends it in the log message or your server code will have to determine it, but how that's done depends on what type of server your writing. Is this a Remoting component, Web Service, TCP/IP sockets-based server, ...?

        Dave Kreskowiak Microsoft MVP - Visual Basic

        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