System.Reflection.PortableExecutable.PEHeaders
namespace System.Reflection.PortableExecutable
{
public sealed class PEHeaders
{
public int MetadataStartOffset { get; }
public int MetadataSize { get; }
public CoffHeader CoffHeader { get; }
public int CoffHeaderStartOffset { get; }
public bool IsCoffOnly { get; }
public PEHeader PEHeader { get; }
public int PEHeaderStartOffset { get; }
public ImmutableArray<SectionHeader> SectionHeaders { get; }
public CorHeader CorHeader { get; }
public int CorHeaderStartOffset { get; }
public bool IsConsoleApplication { get; }
public bool IsDll { get; }
public bool IsExe { get; }
public PEHeaders(Stream peStream);
public PEHeaders(Stream peStream, int size);
public bool TryGetDirectoryOffset(DirectoryEntry directory, out int offset);
public int GetContainingSectionIndex(int relativeVirtualAddress);
}
}