Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はWindowsサービスを書いています。システムの起動、システムのロック、シャットダウンでいくつかの機能を実行したいと考えています。Windowsサービスで起動、ロック、およびシャットダウンイベントを取得する方法は?
Microsoft.Win32.SystemEvents クラスで試してください。