Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsProcessStatisticsMBS class.

WindowsProcessStatisticsMBS.Constructor(ProcessID as Integer = -1, Mode as Integer = 255)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Process MBS Win Plugin 10.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Creates a new object for given process and with given mode.
Example
dim pid as Integer = -1
dim c as new WindowsProcessStatisticsMBS(pid, WindowsProcessStatisticsMBS.ModeMemoryCounters)
MsgBox str(C.PeakWorkingSetSize)

If ProcessID is -1, the current process is queried.
Mode can be a combination of the Mode* constants you want to query. The Mode property will later contain the Mode* constants combination of the values which are valid.

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...