Ads 468x60px

Monday, October 15, 2012

how to shutdown you computer from website in using c#

In this's web programming tutorial we will learn that how we can shutdown our computer by clicking on a button from our website. So below is the dream code just copy and paste it. and use it in your button's onClick event.
System.Diagnostics.Process.Start("shutdown.exe", "-s -t 0")

No comments:

Post a Comment