/// <summary> /// Determines whether the image section is the same as /// another file section. /// </summary> /// <param name="mappedAsFile">A section mapped as a file.</param> /// <returns>Whether the two sections are the same.</returns> public bool IsSameFile(SectionView mappedAsFile) { if ((uint)Win32.NtAreMappedFilesTheSame(this, mappedAsFile) == this.Memory.ToUInt32()) return true; return false; }