Click or drag to resize

DesktopSystemgetProcessList Method

Retrieves an array of all App Desktop processes that are currently running.

Each element in the array is an object containing the uuid and the name of the application to which the process belongs.

Requires administrator privileges.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.5.1
Syntax
C#
public void getProcessList(
	AckCallback callback,
	AckCallback errorCallback = null
)

Parameters

callback
Type: Openfin.DesktopAckCallback
A function that is called and passed the process list.
errorCallback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method fails. The reason for failure is passed as an argument.
Remarks
The returned object takes the form: [ { cpuUsage: (decimal) the percentage of total CPU usage, name: (string) the application name, nonPagedPoolUsage: (integer) the current nonpaged pool usage in bytes, pageFaultCount: (integer) the number of page faults, pagedPoolUsage: (integer) the current paged pool usage in bytes, pagefileUsage: (integer) the total amount of memory in bytes that the memory manager has committed, peakNonPagedPoolUsage: (integer) the peak nonpaged pool usage in bytes, peakPagedPoolUsage: (integer) the peak paged pool usage in bytes, peakPagefileUsage: (integer) the peak value in bytes of pagefileUsage during the lifetime of this process, peakWorkingSetSize: (integer) the peak working set size in bytes, processId: (integer) the native process identifier, uuid: (string) the application UUID, workingSetSize: (integer) the current working set size (both shared and private data) in bytes }, ... ]
See Also