Is it possible to restart IIS7 using C #? If so, how?
System.Diagnostics.Process.Start(@"C:\windows\system32\iisreset.exe");
should do the trick :)
Dan
Just execute the command line parameter using System.Diagnostics.Process.Start();
System.Diagnostics.Process.Start();