Are there any ways to know when a needed windows process starts by only an executable path?

3 weeks ago 17
ARTICLE AD BOX

I want to create an app, that would count time when desired app is running. User ((me)) will choose path to exe, and then my app will track if it's running or not. The problem is, I don't want to check all of the processes by ManagementEventWatcher from System.Management nor ETW

So are there any ways to track desired app directly by path, and without active listening by while (true) CheckAllProcesses()?

Read Entire Article