简体   繁体   English

将数据从 c#.net 应用程序发送到另一个桌面应用程序

[英]Sending data from c#.net app to another desktop app

I am making ac# winform app .我正在制作 ac# winform app 。 I am trying to read a mobile number from a file and a message stored in a string .我正在尝试从文件中读取手机号码和存储在字符串中的消息。 I want to pass this mobile number and message from my winform app to another windows desktop app, as shown in this picture:我想将此手机号码和消息从我的 winform 应用程序传递到另一个 Windows 桌面应用程序,如下图所示:

在此处输入图片说明

but i can't able to pass the data from my app to this desktop app.但我无法将数据从我的应用程序传递到这个桌面应用程序。 What will the code for that?代码是什么?

You have to use windows hooks.你必须使用windows钩子。 You can read more about it here .您可以在此处阅读更多相关信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 C#.net XMLSocket应用程序 - C#.net XMLSocket app 使用C#.NET从另一个类访问Windows App对象 - Accessing a Windows App Object from another Class using C#.NET 在本地化的C#.Net桌面应用程序中找不到适合于指定区域性的任何资源。 - Could not find any resources appropriate for the specified culture… in Localized C#.Net Desktop App 从一个datagridview到另一c#.net的数据 - Data from one datagridview to another c#.net 在应用程序请求权限升级C#.NET - In app request for privilege escalation C#.NET 我可以暂时将数据存储在我的C#.Net应用程序中,以减少从SQL Server调用数据的需要吗? - Can I temporarily store data in my C#.Net app to reduce the need for calls for data from SQL Server? 为什么System.Net.Mail可以在我的c#.net Web应用程序的一部分中工作,而不能在另一部分工作? - Why does System.Net.Mail work in one part of my c#.net web app, but not in another? 使用c#.net从Windows到Linux的远程桌面连接 - remote desktop connection from windows to linux using c#.net 使用C#.Net将文件从ftp复制到远程桌面 - Copy files from ftp to remote desktop using C#.Net 从桌面应用程序注销以更改C#.net中的用户 - Logout from an desktop application to change user in C#.net
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM