.net - Is it possible to reuse an existing process via a plugin or application in C#? -
.net - Is it possible to reuse an existing process via a plugin or application in C#? - i have existing programme have work around. provides decent plugin architecture, i've run problem. need create command-line plugin check if programme running , pass command-line parameters existing instance. is possible using plugin? best practice in situation utilize messaging system? for scenario describe, have used wcf service hosted on net.pipe protocol. basically, have contract defines endpoint can receive info provide command-line arguments. when process starts, first attempts contact service. if service available, means existing process , running. in case, open channel process, send info it, , exit. if service not available, start service. c# .net plugins