0
Answer

code in .net which detects PC's Restart event.

Photo of gauri burkule

gauri burkule

12y
1.3k
1
hi,

I want .net code which detect the PC's Restart event (click Start -> Shut Down -> Restart) and give me message that "PC is going to Restart"; before PC reboot. 
I unable to detect proper restart event of PC in my .net code.

Please, give me the code or any suggesion for this.

Thank you.

Gauri