.net - How to get the origin IP of a netTcpBinding call in WCF? -
Is the method called binding-level information accessible to the original IP address?
You should be able to use this snippet:
(RemoteEndpointMessageProperty) OperationContext.Current.IncomingMessageProperties [RemoteEndpointMessageProperty.name address;
Comments
Post a Comment