title: Process.Kill() vs Process.Start("taskkill",...)
body: <p>I've a small C# installer application and I want to kill a process. Are there any advantages / differences in using</p>
  
  <pre><code>Process[] procs = Process.GetProcessesByName("[taskname]");
  foreach (Process p in procs) { p.Kill(); }
  </code></pre>
  
  <p>vs</p>
  
  <pre><code>Process.Start("taskkill", "/F /IM [taskname].exe");
  </code></pre>
  
  <p>I read somewhere that using "taskkill" is only available in XP(and up), so would that make <code>Process.Kill()</code> the safer option?</p>