Example #1
0
 private void Close()
 {
     if (!closed)
     {
         closed = true;
         WinApi.CloseHandle(procHandle);
     }
 }
Example #2
0
 private bool Close()
 {
     if (closed)
     {
         return(true);
     }
     closed = true;
     return(WinApi.CloseHandle(procHandle));
 }