process tree

Posted by Robert on Stack Overflow See other posts from Stack Overflow or by Robert
Published on 2009-02-13T10:16:02Z Indexed on 2010/03/26 0:33 UTC
Read the original article Hit count: 342

Filed under:
|
|
|

I'm looking for an easy way to find the process tree (as shown by tools like Process Explorer), in C# or other .Net language. It would also be useful to find the command-line arguments of another process (the StartInfo on System.Diagnostics.Process seems invalid for process other than the current process).

I think these things can only be done by invoking the win32 api, but I'd be happy to be proved wrong.

Thanks!

Robert

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET