UtilProcessGetWmiProcessQuery Method

Performs a WMI query to Win32_Process class with the specified condition and returns the result.

Definition

Namespace: DevCase.Core.Diagnostics.Processes
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static ManagementObject[] GetWmiProcessQuery(
	KeyValuePair<string, string> condition
)

Parameters

condition  KeyValuePairString, String
The WHERE condition to use in the SELECT query.

Return Value

ManagementObject
The query result.

Remarks

This is useful for example to get information of a 64-Bit process from a 32-Bit .NET assembly.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also