-1

Is it possible to detect when a PC is logging off. I need to develop an application which writes in a text document about the logoff time, before the PC gets logged off.

Raj
  • 440
  • 2
  • 6
  • 22

1 Answers1

1

For .NET see this question: Is there a way in c# to detect a Windows shutdown/logoff and cancel that action (after asking the user)

Community
  • 1
  • 1
mdm
  • 12,480
  • 5
  • 34
  • 53