FullTrustProcessLauncher
FullTrustProcessLauncher
FullTrustProcessLauncher
FullTrustProcessLauncher
FullTrustProcessLauncher
Class
Definition
Activate the full-trust Win32 component of an application from a Universal Windows app component in the same application package.
public : static class FullTrustProcessLauncher
static struct winrt::Windows::ApplicationModel::FullTrustProcessLauncher
public static class FullTrustProcessLauncher
Public Shared Class FullTrustProcessLauncher
// This class does not provide a public constructor.
- Attributes
Windows 10 requirements
Device family |
Windows Desktop Extension SDK (introduced v10.0.14393.0)
|
API contract |
Windows.ApplicationModel.FullTrustAppContract (introduced v1)
|
Capabilities |
runFullTrust
|
Remarks
The methods in this class may only be called by packages that have the runFullTrust capability.
To use this class, we recommend that you add a Windows Application Packaging Project to your solution (Learn more). Then, in the package manifest of that project, add the windows.fullTrustProcess
extension.
Here's an example.
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:rescap=
"http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10">
...
<Capabilities>
<rescap:Capability Name="runFullTrust"/>
</Capabilities>
<Applications>
…
<Extensions>
<desktop:Extension Category="windows.fullTrustProcess" Executable="fulltrustprocess.exe">
<desktop:FullTrustProcess>
<desktop:ParameterGroup GroupId="SyncGroup" Parameters="/Sync"/>
<desktop:ParameterGroup GroupId="OtherGroup" Parameters="/Other"/>
</desktop:FullTrustProcess>
</desktop:Extension>
</Extensions>
</Application>
</Applications>
</Package>
Methods
Feedback
Loading feedback...