Log Off Your Computer from C#

Ajay.Kalol
Posted by Ajay.Kalol under C# category on | Points: 40 | Views : 3297
Write following Code when you want to Log Off Your Computer

System.Diagnostics.Process.Start("shutdown", "-l -t 00")

Comments or Responses

Login to post response