using System;
using System.Diagnostics;
class MyProcessManipulator {
static void Main(string[] args) {
Process ieProc = Process.Start("IExplore.exe", "www.intertechtraining.com");
Console.Write("--> Hit a key to kill {0}...", ieProc.ProcessName);
try {
ieProc.Kill();
} catch { } // In case user already killed it...
}
}
|