<PackageReference Include="Microsoft.Packaging.Tools" Version="1.0.0-preview2-25401-01" />

System.Reflection.PortableExecutable.PEHeaders

public sealed class PEHeaders
public CoffHeader CoffHeader { get; }

public int CoffHeaderStartOffset { get; }

public CorHeader CorHeader { get; }

public int CorHeaderStartOffset { get; }

public bool IsCoffOnly { get; }

public bool IsConsoleApplication { get; }

public bool IsDll { get; }

public bool IsExe { get; }

public int MetadataSize { get; }

public int MetadataStartOffset { get; }

public PEHeader PEHeader { get; }

public int PEHeaderStartOffset { get; }

public PEHeaders(Stream peStream)

public PEHeaders(Stream peStream, int size)

public int GetContainingSectionIndex(int relativeVirtualAddress)

public bool TryGetDirectoryOffset(DirectoryEntry directory, out int offset)