Groups | Blog | Home
all groups > asp.net webservices > january 2004 >

asp.net webservices : How-to find IP address of a web service consumer?



John Smith
1/29/2004 5:02:24 PM
We can find IP address from the regular web user via the
Request.ServerVariables collection.
How do we do the same for a web service?

Thank you.
~Js.

Jan Tielens
1/30/2004 8:59:17 AM
Sure, you can access the ServerVariables like this:

this.Context.Request.ServerVariables (C#)
Me.Context.Request.ServerVariables (VB.NET)

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan


[quoted text, click to view]

AddThis Social Bookmark Button