title: Kill specific process in vb.net
body: <p>I'm writing a program for my school, which is supposed to terminate some processes opened by user, like for example taskmgr, or regedit etc. How to do it? I know files names, and I'm not sure how to get their PIDs.</p>
  
  <p>For example, nasty student want to bypass security program which is blocking "adult" sites, or chans etc. And now I have to block executing files - only two of them - I mean taskmgr and regedit.</p>