diff --git a/BurnOutSharp.Wrappers/PortableExecutable.cs b/BurnOutSharp.Wrappers/PortableExecutable.cs index 56c7fd0d..748345c2 100644 --- a/BurnOutSharp.Wrappers/PortableExecutable.cs +++ b/BurnOutSharp.Wrappers/PortableExecutable.cs @@ -3035,28 +3035,6 @@ namespace BurnOutSharp.Wrappers return GetSectionData(index); } - /// - /// Get the first section data based on name, if possible - /// - /// Name of the section to check for - /// True to enable exact matching of names, false for starts-with - /// Section data on success, null on error - [Obsolete] - public byte[] GetFirstSectionDataWithOffset(string name, bool exact = false, int offset = 0) - { - // If we have no sections - if (SectionTable == null || !SectionTable.Any()) - return null; - - // If the section doesn't exist - if (!ContainsSection(name, exact)) - return null; - - // Get the first index of the section - int index = Array.IndexOf(SectionNames, name); - return GetSectionData(index); - } - /// /// Get the last section data based on name, if possible ///