title: Determine action on process kill in Windows
body: <p>Let's assume that we have got simple program like below. Is it even possible to make some action on unexpected quit of the program? </p>
  
  <pre><code>static void Main(string[] args)
  {
  
  }
  
  public void onKillDoSomething()
  {
    ...
  }
  </code></pre>