Watchdog programming resources for a complex system
2 answers
I think you are asking about health monitoring . Here's the online documentation from MSDN on built-in health monitoring in .Net. Among other things, this allows you to define rules to audit specific events, such as errors in the application or failed login attempts.
0
a source to share
My favorite method is to send WM_COPYDATA messages from the application that is monitoring the application you want to monitor. Send a message (with timeout) and see how long it takes to get a response. When this answer is out of range, abort the process.
I've used this block of code as a basis for this for a long time. I don't know how it started, but it was what he first wrote.
0
a source to share