PEHeader Class

Definition

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

Properties

AddressOfEntryPoint

Gets the address of the entry point relative to the image base when the PE file is loaded into memory.

BaseOfCode

Gets the address of the beginning-of-code section relative to the image base when the image is loaded into memory.

BaseOfData

Gets the address of the beginning-of-data section relative to the image base when the image is loaded into memory.

BaseRelocationTableDirectory
BoundImportTableDirectory
CertificateTableDirectory

Gets the Certificate Table entry, which points to a table of attribute certificates.

CheckSum

Gets the image file checksum.

CopyrightTableDirectory
CorHeaderTableDirectory
DebugTableDirectory
DelayImportTableDirectory
DllCharacteristics
ExceptionTableDirectory
ExportTableDirectory
FileAlignment

Gets the alignment factor (in bytes) that is used to align the raw data of sections in the image file.

GlobalPointerTableDirectory
ImageBase

Gets the preferred address of the first byte of the image when it is loaded into memory.

ImportAddressTableDirectory
ImportTableDirectory
LoadConfigTableDirectory
Magic

Gets a value that identifies the format of the image file.

MajorImageVersion

Gets the major version number of the image.

MajorLinkerVersion

Gets the linker major version number.

MajorOperatingSystemVersion

Gets the major version number of the required operating system.

MajorSubsystemVersion

Gets the major version number of the subsystem.

MinorImageVersion

Gets the minor version number of the image.

MinorLinkerVersion

Gets the linker minor version number.

MinorOperatingSystemVersion

Gets the minor version number of the required operating system.

MinorSubsystemVersion

Gets the minor version number of the subsystem.

NumberOfRvaAndSizes

Gets the number of data-directory entries in the remainder of the PEHeader. Each describes a location and size.

ResourceTableDirectory
SectionAlignment

Gets the alignment (in bytes) of sections when they are loaded into memory.

SizeOfCode

Gets the size of the code (text) section, or the sum of all code sections if there are multiple sections.

SizeOfHeaders

Gets the combined size of an MS DOS stub, PE header, and section headers rounded up to a multiple of FileAlignment.

SizeOfHeapCommit

Gets the size of the local heap space to commit.

SizeOfHeapReserve

Gets the size of the local heap space to reserve. Only SizeOfHeapCommit is committed; the rest is made available one page at a time until the reserve size is reached.

SizeOfImage

Gets the size (in bytes) of the image, including all headers, as the image is loaded in memory.

SizeOfInitializedData

Gets the size of the initialized data section, or the sum of all such sections if there are multiple data sections.

SizeOfStackCommit

Gets the size of the stack to commit.

SizeOfStackReserve

Gets the size of the stack to reserve. Only SizeOfStackCommit is committed; the rest is made available one page at a time until the reserve size is reached.

SizeOfUninitializedData

Gets the size of the uninitialized data section (BSS), or the sum of all such sections if there are multiple BSS sections.

Subsystem

Gets the name of the subsystem that is required to run this image.

ThreadLocalStorageTableDirectory

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