I have found a solution. The request should look like this:
string.format( "SELECT * FROM Win32_Process WHERE Name = '{0}' AND CommandLine LIKE '%{1}%'", "firefox.exe", "firefox" )
My explanation is an assumption, as I am not a programming specialist on Windows or .NET. In the original request (see Question), I selected the fields, but by specifying * , I select the objects, so I can call methods on them.
Xolve source share