ProcessLauncher Class

Definition

Starts the specified process with associated arguments, if any.

public ref class ProcessLauncher abstract sealed
class ProcessLauncher abstract sealed
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.System.SystemManagementContract), 131072)]
[Windows.Foundation.Metadata.DualApiPartition(version=167772160)]
[Windows.Foundation.Metadata.Static(typeof(Windows.System.IProcessLauncherStatics), 131072, "Windows.System.SystemManagementContract")]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class ProcessLauncher
Public Class ProcessLauncher
Inheritance
ProcessLauncher
Attributes

Windows 10 requirements

Device family
Windows IoT Extension SDK (introduced in 10.0.10586.0)
API contract
Windows.System.SystemManagementContract (introduced in v2.0)
App capabilities
systemManagement

Remarks

This API requires the use of the IoT systemManagement capability. Users can add the following to their Package.appmanifest: <iot:Capability Name="systemManagement"/>

Methods

RunToCompletionAsync(String, String)

Launches a new process. This asynchronous function completes when the launched process terminates.

RunToCompletionAsync(String, String, ProcessLauncherOptions)

Launches a new process, including the specified options. This asynchronous function completes when the launched process terminates.

Applies to