Binarysharp.MemoryManagement.Native.SafeMemoryHandle.ReleaseHandle C# (CSharp) Method

ReleaseHandle() private method

private ReleaseHandle ( ) : bool
return bool
        protected override bool ReleaseHandle()
        {
            // Check whether the handle is set AND whether the handle has been successfully closed
            return handle != IntPtr.Zero && NativeMethods.CloseHandle(handle);
        }