How can I obtain the command line arguments of another process?
Using static functions of the System.Diagnostics.Process
class I can obtain a list of running processes, e.g. by name:
Process[] processList = Process.GetProcessesByName(processName);
However, there is no way to access the command line used to start this process. How would one do that?