Obtaining the server IP address in WCF?
- by chris
How can I obtain the server IP address that was used to connect to a service?
The server has multiple IP addresses and I need to know which one the client is connected to.
So far I only found that
OperationContext.Current.EndpointDispatcher.EndpointAddress and OperationContext.Current.Channel.LocalAddress contain the address from .config (e.g.…