I'm building a program plug-in that requires me to perform checks on the program upon application start-up. The problem is that I only want to perform these checks if the program is currently running.
In order to check to see if the program is running, the only solution I can think of is searching the image names of the processes that are running for an instance of the program. (Like the "Image Names" under the "Processes" tab of the Windows Task Manager)
If anyone could help me with any hints on how to go about doing this, it'd be greatly appreciated! 300 points to a good example!
P.S. If there's any other way someone can think of to check to see if the program is already running, let me know!