public void Dispose() { if (this.handle != System.IntPtr.Zero) { Kernel32.CloseHandle(this.handle); this.handle = System.IntPtr.Zero; } }
public void Dispose() { this.ClearSuspend(); if (this.handle != System.IntPtr.Zero) Kernel32.CloseHandle(this.handle); }