What is the easiest way to do inter process communication in C#?

前端 未结 8 1591
礼貌的吻别
礼貌的吻别 2020-11-30 11:20

I have two C# applications and I want one of them send two integers to the other one (this doesn\'t have to be fast since it\'s invoked only once every few seconds).

8条回答
  •  甜味超标
    2020-11-30 11:48

    I am no pro, but seeing the observer design pattern with StreamInsight appears to be the most desirable avenue to take, but has limitations with heavy loads in multi threaded applications (you'll get too many context switches).

    As an amateur programmer, I have found XDMessaging to be easy and simple for me. It is in NuGet so easy to install too, website is XDMessaging

提交回复
热议问题