I'm trying to get the command line arguments for some running processes.
When I use "Process.GetProcessesByName", the command line arguments property
is null ("").
Does anyone know how to get this info??

Thanks,
Steve

Re: Diagnostics.Process get by name doesn't return command line argume by Mattias

Mattias
Wed Feb 16 14:21:21 CST 2005


>Does anyone know how to get this info??

It's far from trivial. Here's an example of doing it in C++

http://win32.mvps.org/processes/remthread.html



Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.