How to get process Commandline Parameters on Windows 2000 using C#

Posted by guaike on Stack Overflow See other posts from Stack Overflow or by guaike
Published on 2010-05-12T10:19:13Z Indexed on 2010/05/12 11:34 UTC
Read the original article Hit count: 297

Filed under:
|

How to get process Commandline Parameters at Windows 2000 using C#?

I'm use WMI query :select ExecutablePath,CommandLine from Win32_Process where Name='test' but windows 2000 throw this exception: system.management.managementexception : invalid query.

so I do not know how to do it work in windows 2000,please help me, Thank you!

© Stack Overflow or respective owner

Related posts about c#

Related posts about wmi