What implementation of SafeHandle should I use for process handles?
<p>This afternoon has been a crash course for me in terms of handles, Safe handles, PInvoke and many other things.  I think its slowly sinking in, however I'm still struggling with a couple of concepts:</p>

<p><strong>How do I know what implementation of SafeHandle I should use with different handle types?</strong></p>

<p>Specifically, what implementation of SafeHandle should I use with process handles (such as those in the <code>PROCESS_INFORMATION</code> structure returned from a call to CreateProcess?</p>

<p>The only two public implementations that I can see are <code>SafeFileHandle</code> and <code>SafeWaitHandle</code> - neither of these seem to be appropriate in this case.</p>

<p>Which should I use?</p>
