由网友(咫尺天涯间)分享简介:是否有可能在一台PC被注销来检测。我需要开发其写入关于注销时间文本文档的应用程序之前,PC被注销。Is it possible to detect when a PC is logging off. I need to develop an application which writes in a text doc...
是否有可能在一台PC被注销来检测。我需要开发其写入关于注销时间文本文档的应用程序之前,PC被注销。
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.
推荐答案
有关.NET看到了这个问题:Is有没有办法在C#来检测Windows关机/注销和取消操作(询问用户后)
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)
相关推荐
最新文章