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

System.Reflection.PortableExecutable.CoffHeader

public sealed class CoffHeader
Represents the header of a COFF file.

Gets the flags that indicate the attributes of the file.

public Machine Machine { get; }

Gets the type of the target machine.

public short NumberOfSections { get; }

Gets the number of sections. This indicates the size of the section table, which immediately follows the headers.

public int NumberOfSymbols { get; }

Gets the number of entries in the symbol table. This data can be used to locate the string table, which immediately follows the symbol table. This value should be zero for a PE image.

public int PointerToSymbolTable { get; }

Gets the file pointer to the COFF symbol table.

public short SizeOfOptionalHeader { get; }

Gets the size of the optional header, which is required for executable files but not for object files. This value should be zero for an object file.

public int TimeDateStamp { get; }

Gets a value that indicates when the file was created.