<PackageReference Include="System.Reflection.Metadata" Version="11.0.0-preview.3.26207.106" />

System.Reflection.PortableExecutable.DirectoryEntry

public struct DirectoryEntry
Represents a directory entry in the Portable Executable (PE) image.
public readonly int RelativeVirtualAddress

Specifies the address of the entry relative to the base address of the image.

public readonly int Size

Specifies the size of the entry, in bytes.

public DirectoryEntry(int relativeVirtualAddress, int size)

Instantiates a new instance of the DirectoryEntry structure.