[UWP]在UWP /桌面应用程序之间发送/接收信息 [英] [UWP]Send/Receive information between UWP/Desktop Application

查看:61
本文介绍了[UWP]在UWP /桌面应用程序之间发送/接收信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在尝试制作一个与.exe程序一起使用的UWP应用程序(我想这样做是因为UWP应用程序的后台限制) ,所以.exe应用程序就像一个没有表面的后台服务,UWP应用程序是该服务的表面。

I am trying to make an UWP app that work together with a .exe program (I want to do so because of the background limitation of UWP apps), so the .exe app is like a background service that has no surface, and the UWP app is a surface to that service.

我之前见过这样的东西,但我没有记得在哪里。

这样可能吗?

I have seen something like this before but i don't remember where.
so is it possible?

推荐答案

是的,这可以与UWP应用程序内的.exe文件进行通信。你可以使用新的"fullTrustProcess"来做到这一点。扩展。

Yes, this is possible to communicate with a .exe file inside the UWP app. You could do that using the new "fullTrustProcess" extension.

以下是此示例: AppServiceBridgeSample 。您可以参考此示例获取更多信息。

Here is a sample for this:AppServiceBridgeSample. You could refer this sample for more information.

祝您好运,

Roy


这篇关于[UWP]在UWP /桌面应用程序之间发送/接收信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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