2

I have a web service (WCF) and configured it in IIS. Now, is there any way I could see the client's ip addresses (incoming) which try to access the web service?

Thanks.

Tony
  • 3,319
  • 12
  • 56
  • 71

1 Answers1

6

See Keyvan Nayyeri's excellent blog post on the topic:

Detect Client IP in WCF 3.5

It's the source on how to do this.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
  • That is so much simpler than the hoops you had to jump through to do the same with remoting: http://stackoverflow.com/questions/527676#527756 – Kev Jan 12 '11 at 00:48