|
| How to get client IP in ASP .NET web Services |
|
|
|
|
| Messages |
|
Related Types |
This message was discovered on microsoft.public.fdtnservices.netmyservices.sdk.
| wangyang |
| GOOD ANSWER |
Dear all:
In ASP .Net Web page,the following code can get client IP: Dim strClientIP As String strClientIP = Request.UserHostAddress() Response.Write(strClientIP)
But How to get client IP in ASP .NET web Services.
Thanks a lot.
|
|
|
| |
|
|
| |
| |
| bardoux |
| GOOD ANSWER |
Context.Request.ServerVariables ["REMOTE_ADDR"]
[Original message clipped]
|
|
|
| |
|
|
| |
|
|
|
|
|
|
|
|
BootFX
Reliable and powerful .NET application framework. |
|
|
|
|
|
|