Search code examples
c#uwpwindows-store-appswin-universal-appdesktop-bridge

What is 'parameterGroupId' in 'FullTrustProcessLauncher'?


I want to launch an exe passing parameters to it. However, the documentation doesn't explain how to do that. It just mentions a parameterGroupId which is described as

The parameter group ID for the parameters that will be passed to the launched process.

So how do I provide the exe with parameters?

EDIT

I mean that I want a dynamically created value to be passed to the exe as an argument. Not something that I need to compile with the app.


Solution

  • It can't be done. At least not directly.

    See https://stackoverflow.com/a/46009106/939213 .

    What this parameterGroupId does is something else. It allows to send one of predefined parameters. And this parameterGroupId just chooses between them.