Just call this anywhere in your function:
I am using C#:
if you don't know C# just pass these Parameters as run command in your code
System.Diagnostics.Process.Start("shutdown", "/s /t 0");
/s = shutdown
/t = delay time
0 = The time should be given in seconds
So, It is the Easiest way...
God Bless You,
Jai SiyaRam
I am using C#:
if you don't know C# just pass these Parameters as run command in your code
System.Diagnostics.Process.Start("shutdown", "/s /t 0");
/s = shutdown
/t = delay time
0 = The time should be given in seconds
So, It is the Easiest way...
God Bless You,
Jai SiyaRam
No comments:
Post a Comment