Hi,
I have a web service. I need to log the IP addresses from the calls being made to the service. I have this line of code in the web method:
Dim StrIncomingIP As String = HttpContext.Current.Request.UserHostAddress.ToString
But nothing comes through. Anyone know what to alter in this code, or have some other method?
Thanks,
KB
I have a web service. I need to log the IP addresses from the calls being made to the service. I have this line of code in the web method:
Dim StrIncomingIP As String = HttpContext.Current.Request.UserHostAddress.ToString
But nothing comes through. Anyone know what to alter in this code, or have some other method?
Thanks,
KB