// using ... using System.Diagnostics; public class YourForm : Form { // ... private void yourButton_Click(object sender, EventArgs e) { Process.Start(@"C:\WINDOWS\system32\iisreset.exe", "/noforce"); } // ... }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)