声明:本文来自于微信公众号 白鲸出海(ID:baijingapp),作者:辛童,授权转载发布。
I have a windows service started (written in C# .net2.0). I want to detect when the computer shutdown/reboot and cancel it.