摘要:
今天研究了下MarshalByRefObject跨程序通讯,由于今天很晚了,先贴出DOME代码。 分别建立2个winform程序,WinClient和WinServer,2个项目中都有CommunicationInfo类(你也可以将CommunicationInfo做成一个类库供2个winform程序引用)。 贴上代码: CommunicationInfo.cs CommunicationInfo .csusing System;using System.Collections.Generic;using System.Linq;using System.Text;public c... 阅读全文