I'm just trying to start and kill multiple instances of the same program with different arguments. Starting is not a problem but how can I kill a process with a specific argument?
static void Start(string args)
{
var process = new Process
{
StartInfo = { FileName = "FileName", Arguments = args }
};
process.Start();
}
This is my method to start procs with args.
I tried to reserve it somehow, but I wasn't successful. I already searched on Google for the last hour, but didn't get any helpful results.