Today I went through my old project and I found a project and wanted to create a tutorial about it so it's a shutdown manager. I couldn't test and make it so much advanced because I don't have time so I will just write down the basic codings .
To Log off Computer you can use
To Restart Computer you can use
you can also use System.Diagnostics.Process.Start()
:)
To Shutdown Computer you can use
Shell("shutdown -s")
To Log off Computer you can use
Shell("shutdown -l")
To Restart Computer you can use
Shell("shutdown -r")
you can also use System.Diagnostics.Process.Start()
:)
4 comments
thanks gan....
Replyhttp://www.rajalistrik.com
Full Details for windows power option
Reply# *shutdown pc*
shell("shutdown -s -t 10 -c pc,will,shutdown,after,10,seconds")
# *Restart pc*
shell("shutdown -r -t 10 -c pc,will,restart,after,10,seconds")
# *Log-off* {From User A/c (PC)
shell("shutdown -l -t 10 -c pc,will,log-off,after,10,seconds")
# *Abort* {power option.
shell("shutdown -a")
-------------------------------------------------------------------------------------
s stands for shutdown
r stands for restart
l stands for log off
t stands for countdown time
a stands for abort/cancel
c stands for message box and word is seperate by comma
Yes :ThumbsUP
Replyall kind of this technical information really helps most of readers
Replygetting training on seo or learning seo with real seo expert is great deal done in learning digital marketing seo training in bangalore
Post a Comment
Note: Only a member of this blog may post a comment.