Please let me know if this is possible, and if so how (using c#) :
User starts my application with optional command line arguments. The application starts in the background, maintains a list of the arguments passed
If the user starts the app again with some more arguments, the first instance of the app should be detected, and the arguments should be appended to the existing list (instead of creating a new process and new list)
I googled and found many ways to detect the running instances (and getting the Process object representing the first instance). What I need to know is, how do I use this object and manipulate its members (like adding to the argument list etc.) ?
Will making my app a windows service help? If so, I still need to know how to achieve the above.