Show / Hide Table of Contents

Class IMAGE_FILE_HEADER

The File header contains information about the structure and properties of the PE file.

Inheritance
System.Object
AbstractStructure
IMAGE_FILE_HEADER
Inherited Members
AbstractStructure.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: PeNet.Structures
Assembly: PeNet.dll
Syntax
public class IMAGE_FILE_HEADER : AbstractStructure

Constructors

| Improve this Doc View Source

IMAGE_FILE_HEADER(Byte[], UInt32)

Create a new IMAGE_FILE_HEADER object.

Declaration
public IMAGE_FILE_HEADER(byte[] buff, uint offset)
Parameters
Type Name Description
System.Byte[] buff

A PE file as byte array.

System.UInt32 offset

Raw offset to the file header.

Properties

| Improve this Doc View Source

Characteristics

Set of flags which describe the PE file in detail. Can be resolved with Utility.ResolveCharacteristics(characteristics).

Declaration
public ushort Characteristics { get; set; }
Property Value
Type Description
System.UInt16
| Improve this Doc View Source

Machine

The machine (CPU type) the PE file is intended for. Can be resolved with Utility.ResolveTargetMachine(machine).

Declaration
public ushort Machine { get; set; }
Property Value
Type Description
System.UInt16
| Improve this Doc View Source

NumberOfSections

The number of sections in the PE file.

Declaration
public ushort NumberOfSections { get; set; }
Property Value
Type Description
System.UInt16
| Improve this Doc View Source

NumberOfSymbols

The number of COFF symbols.

Declaration
public uint NumberOfSymbols { get; set; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

PointerToSymbolTable

Pointer to COFF symbols table. They are rare in PE files, but often in obj files.

Declaration
public uint PointerToSymbolTable { get; set; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

SizeOfOptionalHeader

The size of the optional header which follow the file header.

Declaration
public ushort SizeOfOptionalHeader { get; set; }
Property Value
Type Description
System.UInt16
| Improve this Doc View Source

TimeDateStamp

Time and date stamp.

Declaration
public uint TimeDateStamp { get; set; }
Property Value
Type Description
System.UInt32
  • Improve this Doc
  • View Source
Back to top Generated by DocFX