First my question:
How can I put some code that will be executed when the OS is shutdown?
----
Then what I have done:
I read about SessionEnding, if I add an event handler to SystemEvents.SessionEnding I can do that.
I found this in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.