ProcessType Enum
Specifies the process type.
public enum ProcessType
Fields
GlobalCapture
0
GlobalCapture process.
GlobalAction
1
GlobalAction process.
Example
The following example demonstrates performing logic on processes conditionally by their process types.
var processes = Database.GetProcessesByProperty("Name", "John", PropertyComparator.Equals);
foreach (var process in processes)
{
if (process.ProcessType == ProcessType.GlobalCapture)
{
// perform an action on a GlobalCapture process
}
}