Hi Steve,
You can use the context object in a web method to get the remote address.
Get the "remote_addr" property in the ServerVariables collection.
Imports System.Web.Services
<WebService(Description:="Echo Requestor's IP address")> _
Public Class EchoIP
Inherits System.Web.Services.WebService
<WebMethod(description:="Echo Requestor's IP address")
Public Function echo() As String
Return Context.Request.ServerVariables("remote_addr")
End Function
End Class
Best Regards,
Phil Harvey
--------------------
http://spaces.msn.com/members/dotnetspace