Exe文件之间的通信C# [英] Communication Between Exe Files C#

查看:250
本文介绍了Exe文件之间的通信C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想制作两个相互通信的应用程序.

例如:
如果应用程序1发送数据,则发送的数据应出现在应用程序2上.

更全面地:
应用程序具有表单,用户可以在其中输入/输入文本框中的数据,然后单击发送"按钮,该表单将立即出现在下一个应用程序表单中.

我也想从1st开始加载新的2nd表单.
谢谢.

I want to make 2 applications which communicate with each other.

For Example:
If Application 1 Sends Data then the Sent data Should appears on Application 2.

More Comprehensively:
Application has Form in which user type/enter data in text boxes, then when he click on the Button(Sends), it appears immediately on the next applications Form.

Also I want to load new 2nd form from 1st from.
Thanks.

推荐答案

拉海尔,

使用.net远程处理进行进程间通信.

请参阅这些链接.


[ ^ ]

[ ^ ]
Hi Raheel,

Use .net remoting for inter process communication.

Refer these link.


[^]

[^]


您也可以使用套接字

http://www.csharp-examples.net/socket-send-receive/ [ ^ ]
You could also use Sockets

http://www.csharp-examples.net/socket-send-receive/[^]


您好Raheel,

使用TCP协议并参考以下链接

使用C#的TCP/IP聊天应用程序 [
Hi Raheel,

Use TCP Protocol and refer the following link

TCP/IP Chat Application Using C#[^]


这篇关于Exe文件之间的通信C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆