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

前端 未结 8 1592
礼貌的吻别
礼貌的吻别 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:50

    You can try .NET Remoting. Here is a simple example: CodeProject .NET Remoting.

    If you are using .NET 3.5, you should go for WCF, as Remoting is slowly becoming obsolete. Again, there are many examples for WCF around.

提交回复
热议问题