I am trying to save information about login and log off time of an application. I need to know how to handle when that apllication crashes. Is it possible to get the time of the crash ? Is it possible to find out Is the application was crashed last time when it was used ?