Hi,
I have an application and this application needs to close when the window shutdown happen. How can i detect that the system is shutting down from a C# program