Hi,
I want check the weather the exe is running or not. I can monitor using process class but it won't work always, process will show you the alive status even the exe is closed.
Please help me.
Regards
Ajay
How to check the reference count of an exe
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Feb 12, 2012, 5:32 AM EST
AFAIK, handling the Process.Exit event should work properly in all cases. However, you need to set the EnableRaisingEvents property to true, otherwise it won't fire.
Sam HobbsRank #108 · 20.5K reputationPosted Feb 12, 2012, 2:43 PM EST