devxlogo

C#

Prevent Shutdown from a C# App

It is possible to prevent a system shutdown from within your C# apps. Basically the premise is as follows: Override the WndProc event so that when a system shutdown event