internal Section(Win32Assembly assembly, uint headeroffset, Structures.IMAGE_SECTION_HEADER rawHeader) { this._rawHeader = rawHeader; this.headeroffset = headeroffset; this.assembly = assembly; this.HasImage = true; }
public Section(string name, uint offset, byte[] contents) { this.HasImage = false; _rawHeader = new Structures.IMAGE_SECTION_HEADER(); this.Name = name; this.RawOffset = offset; this.RawSize = (uint)contents.Length; this._contents = contents; }