I have a WPF application which can get parameters via command line. my application cannot be duplicate (I made it single instance) but I would like to be able to add parameters a few times - and to add them into the runnig application without opening another window. fo now in my code I check if the application has another instance - and if so I throw an exception. I'm looking for a way that I would by able to run the following script a few times:
Myapp.exe -firstname first -lastname last
and in every time the one running application would add the inserted parameters to its list. How can I do it?