是否可以使用C#重新启动IIS7?如果是这样,怎么办?
System.Diagnostics.Process.Start(@"C:\windows\system32\iisreset.exe");
应该可以解决问题:)
Dan