Is my application aware that it is being terminated by the task manager?
If the user is to terminate my application through the task manager, does my application detect this completion and perform some tasks before it is finished?
Does anyone have any idea how I can do this?
NOTE: My application is running direct.
NOTE 2: My application is in WPF .