Edit

Share via


CoffHeader Class

Definition

Represents the header of a COFF file.

public ref class CoffHeader sealed
public sealed class CoffHeader
type CoffHeader = class
Public NotInheritable Class CoffHeader
Inheritance
CoffHeader

Properties

Characteristics

Gets the flags that indicate the attributes of the file.

Machine

Gets the type of the target machine.

NumberOfSections

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

NumberOfSymbols

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.

PointerToSymbolTable

Gets the file pointer to the COFF symbol table.

SizeOfOptionalHeader

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.

TimeDateStamp

Gets a value that indicates when the file was created.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to