Is it possible to get either the IP Address or station name of the PC that has called a web method? If so, could you please point
me in the right direction.
On Oct 22, 11:25 am, "Al Reid" <arei...@reidDA SHhome.comwrote :
Is it possible to get either the IP Address or station name of the PC that has called a web method? If so, could you please point
me in the right direction.
>
--
Al Reid
Off hand I believe this will give you the requester's IP address:
>"rowe_newsgrou ps" <rowe_email@yah oo.comwrote in message news:7f6f7496-c28d-42e0-9dd3-f76b28002879@k1 6g2000hsf.googl egroups.com...
>On Oct 22, 11:25 am, "Al Reid" <arei...@reidDA SHhome.comwrote :
>Is it possible to get either the IP Address or station name of the PC that has called a web method? If so, could you please point
>me in the right direction.
>>
>--
>Al Reid
>
>Off hand I believe this will give you the requester's IP address:
>
>HttpContext.Cu rrent.Request.S erverVariables( "REMOTE_ADD R")
>
>Thanks,
>
>Seth Rowe [MVP]
>http://sethrowe.blogspot.com/
Thanks, Seth. I also found that
Me.Context.Requ est.UserHostAdd ress
seems to work within my local network. I sent a link to our partner on the other side of the T1 line to test if the correct IP
address arrives after passing through the routers and firewalls.
Comment