HI, I try use Request.UserHostAddress and
Request.ServerVariables["REMOTE_ADDR"] , but I receive ip is the server, is
not client.
follow is my code:
<WebMethod()> _
Public Function HelloWorld() As String
Return Context.Request.ServerVariables("REMOTE_ADDR")
End Function
"Martin Kulov" wrote:
Hi ysu,
you can use Request.UserHostAddress or
Request.ServerVariables["REMOTE_ADDR"] to retrieve the IP of the client.
Regards,
--
Martin Kulov
http://www.codeattest.com
MCAD Charter Member
MCSD.NET Early Achiever
MCSD
"ysu" <ys*@discussions.microsoft.com> wrote in message
news:88**********************************@microsof t.com... HI, I have a application need call a webserver, I want know who is call
the webserver, how to do?