Communication between two WPF applications

I have two WPF applications, I need these two applications to be able to communicate with each other. I just need these apps to send some notifications to each other and nothing more. I also found two methods, one using WCF and the other using DDE. But for me it seems too complicated for my requirement. Please suggest what is the easiest way to do this? What other options do I have?

+4
source share
1 answer

If they are on the same network (otherwise you will need to transfer the port you are using), you can make a TCP connection between them, and they need a TCPlistener and a TCP client. It's easy to do: here's a little tutorial

+3
source

Source: https://habr.com/ru/post/1432232/


All Articles