private void Close() { if (!closed) { closed = true; WinApi.CloseHandle(procHandle); } }
private bool Close() { if (closed) { return(true); } closed = true; return(WinApi.CloseHandle(procHandle)); }