EasyPipes
用于NamedPipe和基于TCP的IPC的简单C#库
针对.NET Standard 2.0编写,应该与大多数现代.NET版本兼容。
用法
服务器使用情况:
using EasyPipes ;
// IService defines the IPC interface
public interface IService
{
int Sum ( int one , int two );
}
// Calculator is the server class
class Calculator : IService
{
public int Sum ( int one , int two )
{
return one + two ;
}
}
// start up
Server server = new Server ( " pipe
评论0
最新资源