Reputation: 22448
I'm creating a webservice.
I wanna recover the URL that is used my webservice.
e.g:
Someone from www.sth.com
invoke my webservice's methods. Now I wanna recover www.sth.com
from my webservice!
Is it possible? if so, how?
Upvotes: 0
Views: 93
Reputation: 6563
try using:
string clientAddress = this.Context.Request.UserHostAddress;
Upvotes: 2