How do I grab the client IP address in my Web service

  • Thread starter Maziar Aflatoun
  • Start date
M

Maziar Aflatoun

Hi,

I need to grab the ip address of the computer making the call to my Web
Service. In my .asmx I tried System.Web.HttpRequest.UserHostName and it
doesn't work. Does anyone know how I can grab the IP/Host address of the
client making the connection to my web service?

Thx
Maz.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,830
Latest member
HeleneMull

Latest Threads

Top