0





112
1

We've got an interesting case where we are trying to determine how different instances of our app were launched. Is there any way for .NET to be able to query another running instance and get the command line parameters passed to that instance? I've not been able to find any way to do it in .NET so far, so I thought I'd check here to see if anyone had done anything like this before.

Question author Noah | Source

0


1

You can retrieve this information through WMI.

See the Win32_Process class, in particular its command line property. This Code Project article provides pointers on how to do this,

Answer author Rob-walker

Ask about this question here!