I searched quite a few answers in StackOverflow but can't make it work.
This is my code:
bool Active = Process.GetProcessesByName("EXENAME").Any();
as you can see 'ACTIVE' gets true when the process "EXENAME" is running, but I want it more precise, I want to keep it in False state if the process "EXENAME" is running under System as well.
Please help!