I have the following audio recorder: http://www.c-sharpcorner.com/blogs/audio-recorder-in-c-sharp1
My question is how can I save the recorded file if the application is running in the background and I click the windows shutdown button without closing it first? Is there any way to make an autosave before closing?
Thank you!