Interface IProcessFactory
Provides the functionalities of a factory of process.
public interface IProcessFactory
Methods
Create()
Creates a new process.
IProcess Create()
Returns
- IProcess
The new process.
GetCurrentProcess()
Gets the current process.
IProcess GetCurrentProcess()
Returns
- IProcess
The current process.
GetProcessesByName(string)
Gets all processes with the specified name.
IProcess[] GetProcessesByName(string name)
Parameters
namestringThe process name.
Returns
- IProcess[]
All processes with the specified name.