/// <summary> Returns the size of a section from its name. </summary> public static int GetSectionSize(DataSectionTypes sectionName) { foreach (var sectionType in SectionTypes) { if (sectionType.Name == sectionName) { return(sectionType.Size); } } return(4084); }
public SectionType(uint index, DataSectionTypes name, int size) { Index = index; Name = name; Size = size; }