C# Type of Shutdown

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ewokspy
    New Member
    • Sep 2007
    • 30

    C# Type of Shutdown

    I know how to determine if a user is shutting down Windows, but I don't know how to determine whether they initiated a shutdown, a restart, or a logoff. I'm using the WndProc to determine that system is shutting down, and using .NET 2003. Thanks.
Working...