Show / Hide Table of Contents

Class ImageDosHeader

The ImageDosHeader with which every PE file starts.

Inheritance
System.Object
AbstractStructure
ImageDosHeader
Namespace: PeNet.Header.Pe
Assembly: PeNet.dll
Syntax
public class ImageDosHeader : AbstractStructure

Constructors

| Improve this Doc View Source

ImageDosHeader(IRawFile, Int64)

Create a new ImageDosHeader object.

Declaration
public ImageDosHeader(IRawFile peFile, long offset)
Parameters
Type Name Description
IRawFile peFile

A PE file.

System.Int64 offset

Offset in the PE file 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
In This Article
Back to top Generated by DocFX