using System.Runtime.InteropServices; namespace BinaryObjectScanner.Models.NewExecutable { /// /// The resident-name table follows the resource table, and contains this /// module's name string and resident exported procedure name strings. The /// first string in this table is this module's name. These name strings /// are case-sensitive and are not null-terminated. The following /// describes the format of the name strings: /// /// [StructLayout(LayoutKind.Sequential)] public sealed class ResidentNameTableEntry { /// /// Length of the name string that follows. A zero value indicates /// the end of the name table. /// public byte Length; /// /// ASCII text of the name string. /// public byte[] NameString; /// /// Ordinal number (index into entry table). This value is ignored /// for the module name. /// public ushort OrdinalNumber; } }