IWinProcess

Assembly: Ui;

Description

The IWinProcess interface contains properties and methods that are used to start applications with visual interface and to get their execution result.

Inheritance Hierarchy

          IProcess

          IWinProcess

Comments

To start an application or open a file in the application, initialize the object of the WinProcess class, set up start parameters (object of the WinShellExecuteInfo class) and execute the IProcess.Start method. To stop the application, use the IWinProcess.CloseMainWindow method.

The IWinProcess implementation allows for starting applications only in Windows OS.

Properties inherited from IProcess

  Property name Brief description

ExitCode

The ExitCode property returns the process exit code.

HasExited

The HasExited property returns whether the process is executed.

Methods

  Method name Brief description
CloseMainWindow The CloseMainWindow method closes the process that has the user interface by sending the command to the main window to close.

Methods inherited from IProcess

  Method name Brief description

Kill

The Kill method stops process execution.

Start

The Start method starts a process.

See also:

Ui Assembly Interfaces