Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

Specifies the process type.


Code Block
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.

Code Block
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
	}
}