I can detect if a process is present in the list of processes with:
Process[] aryProcesses = Process.GetProcessesByName(strNameOnly);
If I stop the application (closing it down), the above continues to return true as if the process as if is still running, so what do I need to add to determine if the process is actually running?
I’m working on Windows 10:
Microsoft Windows [Version 10.0.19045.4651]