.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

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -