Show / Hide Table of Contents

Class IMAGE_DOS_HEADER

The IMAGE_DOS_HEADER with which every PE file starts.

Inheritance
System.Object
AbstractStructure
IMAGE_DOS_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_DOS_HEADER : AbstractStructure

Constructors

| Improve this Doc View Source

IMAGE_DOS_HEADER(Byte[], UInt32)

Create a new IMAGE_DOS_HEADER object.

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

Byte buffer containing a PE file.

System.UInt32 offset

Offset in the buffer to the DOS header.

Properties

| Improve this Doc View Source

e_cblp

Bytes on the last page of the file.

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

e_cp

Pages in the file.

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

e_cparhdr

Size of the header in paragraphs.

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

e_crlc

Relocations.

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

e_cs

Initial (relative) CS value.

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

e_csum

Checksum

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

e_ip

Initial IP value.

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

e_lfanew

Raw address of the NT header.

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

e_lfarlc

Raw address of the relocation table.

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

e_magic

Magic "MZ" header.

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

e_maxalloc

Maximum extra paragraphs needed.

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

e_minalloc

Minimum extra paragraphs needed.

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

e_oemid

OEM identifier.

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

e_oeminfo

OEM information.

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

e_ovno

Overlay number.

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

e_res

Reserved.

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

e_res2

Reserved.

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

e_sp

Initial SP value.

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

e_ss

Initial (relative) SS value.

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