hi,
i would like to build an watchdog for my app, so that if my main app crashes (freeze, runtime error msg, etc ) the wacthdog restarts it.
so my problem is how to detect if my app has crashed! system.diagnostics doesn't provide any functions to detect if an process has crashed!
i was thinking about writing some timestamp into a file and if after a period of time there wasn't a update, the watchdog will asume that the app has crashed!
does anyone here have a better idea?
thx & greets
matthias
i would like to build an watchdog for my app, so that if my main app crashes (freeze, runtime error msg, etc ) the wacthdog restarts it.
so my problem is how to detect if my app has crashed! system.diagnostics doesn't provide any functions to detect if an process has crashed!
i was thinking about writing some timestamp into a file and if after a period of time there wasn't a update, the watchdog will asume that the app has crashed!
does anyone here have a better idea?
thx & greets
matthias