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,209
  • 12
  • 53
  • 70

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
  • 704,970
  • 168
  • 1,303
  • 1,425
  • 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