Gabriel Curinga
Gabriel Curinga

Reputation: 305

UWP pass informations between applications

I use FullTrustProcessLauncher to launch another app which is a console application from my UWP application and I want to pass informations/parameters between these two apps.

Maybe I have to use SharedMemory or something like that ?

Upvotes: 2

Views: 876

Answers (2)

Gabriel Curinga
Gabriel Curinga

Reputation: 305

Thanks to Marian Dolinsky, I continued my researches in the right way and I have found a sample developped by Microsoft. It shows how to communicate between UWP app and console application (it is the same thing if you want to communicate with WPF or Win Forms app) using AppService APIs. The link to the github : Sample Microsoft

Upvotes: 0

Marian Dolinský
Marian Dolinský

Reputation: 3492

You can use the UWP's built-in mechanism to share local data between apps or if you just need to pass some data on startup you should use the Protocol activation as Vijay Nirmal said.

Upvotes: 5

Related Questions