Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsProcessDiagnosticInfoMBS class.

WindowsProcessDiagnosticInfoMBS.Process(ProcessID as UInt32) as WindowsProcessDiagnosticInfoMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Windows MBS WinFrameworks Plugin 25.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Gets a ProcessDiagnosticInfo object for the specified process.
Example
var s as WindowsProcessDiagnosticInfoMBS

// please put in a process ID
s = WindowsProcessDiagnosticInfoMBS.Process(9156)

MessageBox s.ExecutableFileName

If you call this method for the current app process ID, there is no capability check. Calling the method for any other process requires user consent, which defaults to denied. Users can provide consent in the Settings app.

WindowsProcessDiagnosticInfoMBS.Processes as WindowsProcessDiagnosticInfoMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Windows MBS WinFrameworks Plugin 25.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Gets a list of ProcessDiagnosticInfo objects for all running processes that are accessible to the caller.
Example
var Names() as string
var processes() as WindowsProcessDiagnosticInfoMBS = WindowsProcessDiagnosticInfoMBS.Processes

for each process as WindowsProcessDiagnosticInfoMBS in processes
names.add process.ExecutableFileName
next

MessageBox join(names, EndOfLine)

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


The biggest plugin in space...