Free Student Projects

Follow

Advertisement

Shutdown computer using VB.Net

Share

Shutdown computer using VB.Net

This will explain how to Shutdown computer using VB.Net. Using VB.NET source code we can shutdown, restart, or log off a computer with few lines of code.

Here is the code to shut down the PC:

System.Diagnostics.Process.Start(“ShutDown”, “/s”)

Here is the code to restart the pc:

System.Diagnostics.Process.Start(“ShutDown”, “/r”)

Download the Source code:

Shutdown computer using VB.Net
Advertisement

Share

Related

Advertisement

Latest

Advertisement