-4

I have an XML file read from A console application and need to send value to B console application depending on logic in the following photo: enter image description here

That's what exactly needs: enter image description here Please I need your support it's so important, Thanks.

1 Answers1

0

You could use a WCF Service (utilizing NetNamedPipeBinding for example, if running on the same machine, NetTcpBinding if going across the network) to distribute the data to different clients. You would need to implement a Contract with a "Subscribe" method for example where every client sends its ID so you can have a CallBack sending them the data. Alternatively your contract could just have a method passing the ID of the client and getting the XML returned.

Here you can see a minimal implementation to get you started: WCF named pipe minimal example

MemphiZ
  • 766
  • 2
  • 13
  • 29