开发者

How do I find out where a call to my webservice (.net asmx) came from?

开发者 https://www.devze.com 2022-12-23 11:09 出处:网络
From within a webmethod (.net asmx fi开发者_StackOverflowle) - is it possible to determine from where the call to the webmethod came?

From within a webmethod (.net asmx fi开发者_StackOverflowle) - is it possible to determine from where the call to the webmethod came?

Thank you


You have this :

httpContext.Current.Request.UserHostAddress

MSDN

To get this host IP adress. but if by where you mean a place, , you can't.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号