C# 命名管道 异步通信的例子

上传者: king19830101 | 上传时间: 2019-12-21 20:03:35 | 文件大小: 222KB | 文件类型: zip
网上很多关于命名管道通信的代码都是同步通信的,这个例子是使用命名管道异步通信的。实现了两个Application之间利用命名管道异步通信。想了解C# 命名管道异步通信的很值得一看。

文件下载

资源详情

[{"title":"( 87 个子文件 222KB ) C# 命名管道 异步通信的例子","children":[{"title":"AsyncPipes.sln <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"MaLio.AsyncPipes.csproj.FileListAbsolute.txt <span style='color:#111;'> 429B </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 108.42KB </span>","children":null,"spread":false},{"title":"AsyncPipes.csproj.FileListAbsolute.txt <span style='color:#111;'> 405B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"MaLio.AsyncPipes.vshost.exe <span style='color:#111;'> 13.99KB </span>","children":null,"spread":false},{"title":"MaLio.AsyncPipes.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Messages","children":[{"title":"Messages.csproj <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"Messages.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 3.72KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Messages.pdb <span style='color:#111;'> 21.50KB </span>","children":null,"spread":false},{"title":"Refactor","children":[{"title":"Messages.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"Messages.csproj.FileListAbsolute.txt <span style='color:#111;'> 449B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"Messages.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"AsyncPipes.dll <span style='color:#111;'> 11.00KB </span>","children":null,"spread":false},{"title":"Messages.pdb <span style='color:#111;'> 21.50KB </span>","children":null,"spread":false},{"title":"AsyncPipes.pdb <span style='color:#111;'> 39.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"GenericMessage.cs <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"AsyncPipes.4.5.resharper.user <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"AppOne","children":[{"title":"Form1.Designer.cs <span style='color:#111;'> 7.36KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 498B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"AppOne.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"AppOne.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"AppOne.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"AppOne.csproj.GenerateResource.Cache <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"AppOne.exe <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"AppOne.csproj.FileListAbsolute.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"AppOne.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"Messages.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"AsyncPipes.dll <span style='color:#111;'> 11.00KB </span>","children":null,"spread":false},{"title":"Messages.pdb <span style='color:#111;'> 21.50KB </span>","children":null,"spread":false},{"title":"AsyncPipes.pdb <span style='color:#111;'> 39.50KB </span>","children":null,"spread":false},{"title":"AppOne.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"AppOne.vshost.exe <span style='color:#111;'> 13.99KB </span>","children":null,"spread":false},{"title":"AppOne.exe <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.cs <span style='color:#111;'> 5.55KB </span>","children":null,"spread":false},{"title":"AppOne.csproj <span style='color:#111;'> 4.03KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"AsyncPipeLib","children":[{"title":"NamedPipeStreamConnection.cs <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"NamedPipeStreamClient.cs <span style='color:#111;'> 5.79KB </span>","children":null,"spread":false},{"title":"MessageSerializers.cs <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"AsyncPipes.dll <span style='color:#111;'> 11.00KB </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 108.42KB </span>","children":null,"spread":false},{"title":"AsyncPipes.csproj.FileListAbsolute.txt <span style='color:#111;'> 351B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Refactor","children":[{"title":"AsyncPipes.dll <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"AsyncPipes.pdb <span style='color:#111;'> 39.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"AsyncPipes.dll <span style='color:#111;'> 11.00KB </span>","children":null,"spread":false},{"title":"AsyncPipes.pdb <span style='color:#111;'> 39.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"AsyncPipes.csproj <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false},{"title":"MessageEventArgs.cs <span style='color:#111;'> 720B </span>","children":null,"spread":false},{"title":"AsyncPipes.csproj.user <span style='color:#111;'> 545B </span>","children":null,"spread":false},{"title":"NamedPipeStreamBase.cs <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"NamedPipeStreamServer.cs <span style='color:#111;'> 3.59KB </span>","children":null,"spread":false},{"title":"MessageEventHandler.cs <span style='color:#111;'> 178B </span>","children":null,"spread":false},{"title":"IMessage.cs <span style='color:#111;'> 422B </span>","children":null,"spread":false}],"spread":false},{"title":"AsyncPipes.suo <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false},{"title":"AppTwo","children":[{"title":"Form1.Designer.cs <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 498B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"AppTwo.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"AppTwo.exe <span style='color:#111;'> 14.00KB </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 5.39KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"AppTwo.csproj.GenerateResource.Cache <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"AppTwo.csproj.FileListAbsolute.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"AppTwo.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"AppTwo.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"Messages.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"AsyncPipes.dll <span style='color:#111;'> 11.00KB </span>","children":null,"spread":false},{"title":"AppTwo.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"AppTwo.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"AppTwo.exe <span style='color:#111;'> 14.00KB </span>","children":null,"spread":false},{"title":"AppTwo.vshost.exe <span style='color:#111;'> 13.99KB </span>","children":null,"spread":false},{"title":"Messages.pdb <span style='color:#111;'> 21.50KB </span>","children":null,"spread":false},{"title":"AsyncPipes.pdb <span style='color:#111;'> 39.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.cs <span style='color:#111;'> 5.46KB </span>","children":null,"spread":false},{"title":"AppTwo.csproj <span style='color:#111;'> 4.03KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • w051108 :
    不错的资源
    2020-08-11
  • _平凡之路_ :
    不错,但是CPU占用率高是什么原因?
    2019-08-20
  • CodeKind :
    例子非常的好,修改后直接拿来项目中用了
    2018-08-16
  • FrogView :
    挺不错的,很适合
    2018-08-16
  • 哎呀喂大爷 :
    例子非常的好直接拿来项目中用了
    2018-03-05

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明