Communication between 2 windows from application

僤鯓⒐⒋嵵緔 提交于 2019-12-01 09:11:35

Here is a good example using WCF to communicate two processes:

http://www.switchonthecode.com/tutorials/wcf-tutorial-basic-interprocess-communication

Another option is ZeroMQ C# binding:

http://www.zeromq.org/bindings:clr

One option would be to use WCF named pipes (net.pipe) the other option would be Anonymous Pipes for Local Interprocess Communication

Excerpt:

Anonymous pipes offer less functionality than named pipes, but also require less overhead. You can use anonymous pipes to make interprocess communication on a local computer easier. You cannot use anonymous pipes for communication over a network.

Use WCF with netnamedpipe binding as @I4V recommends. Other alternatives are use Pipes, Remoting, or fileshare.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!