Restart PC or Laptop
Click Button Restart Your Working PC or Laptop in WinForm Diagnostics in Asp.Net C#.
Download Coding
Download
C# CODING
Click Button Restart Your Working PC or Laptop in WinForm Diagnostics in Asp.Net C#.
Download Coding
Download
C# CODING
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Diagnostics;
public partial class Restarts : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
ProcessStartInfo restart = new ProcessStartInfo("shutdown.exe", "-r");
Process.Start(restart);
}
}
0 comments:
Post a Comment