Possible Duplicate:
Detecting process crash in .NET
I'm writing a c# program that have to determine if another C++ game program (let's call it Foobar) is crashed or not. When the FooBar program crashes it's notifying the user about the crash with a MessageBox, if you OK that windows the program closes. So I guess I could determine if the program is crashed if that messagebox is opened/active. Problem I dont know how to do that. Or if there is any other better solution comes to your mind, please share it with me.
Edit: I can not edit the C++ program, and it's always a possibility that it will crash. I just need to know if it did.