internal class Win32FileHandle : SafeHandleZeroOrMinusOneIsInvalid
Provides a class for Win32 safe handle implementations
Win32FileHandle(IntPtr preExistingHandle, Boolean ownsHandle)
Initializes a new instance of the Win32ApiFileHandle class, specifying whether the handle is to be reliably released.
public void Win32FileHandle(IntPtr preExistingHandle, Boolean ownsHandle)
Win32FileHandle()
Initializes a new instance of the Win32ApiFileHandle class, specifying whether the handle is to be reliably released.
internal void Win32FileHandle()
Dispose(Boolean disposing)
Releases the unmanaged resources used by the Win32ApiFileHandle class specifying whether to perform a normal dispose operation.
protected void Dispose(Boolean disposing)
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected Boolean ReleaseHandle()