/// <summary> /// Release the data view handle. /// </summary> /// <returns>True if successfully released.</returns> protected override bool ReleaseHandle() { if (SectionHandle == null || SectionHandle.IsClosed || SectionHandle.Port == null || SectionHandle.Port.Handle.IsClosed) { return(false); } return(NtSystemCalls.NtAlpcDeleteSectionView(SectionHandle.Port.Handle, 0, DangerousGetHandle()).IsSuccess()); }