"Martin Kulov" <ku***@bezbokluk.abv.bg> wrote in message
news:ut**************@TK2MSFTNGP14.phx.gbl...
Hi Johnnie,
Use Request.UserHostAddress to retrieve the IP of the calling client.
Martin,
Thank you for responding. One more thing please...
How should I create the System.Web.HttpRequest for Request.UserHostAddress
to be valid when my web service is called? My partial code is below.
Thanks,
Johnnie
using System.Web;
HttpRequest request = new HttpRequest( ); // parameters for my web service
to use???
ipAddress = request.UserHostAddress;