Show / Hide Table of Contents

Class ImageResourceDirectory

The resource directory contains icons, mouse pointer, string language files etc. which are used by the application.

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

Constructors

| Improve this Doc View Source

ImageResourceDirectory(IRawFile, ImageResourceDirectoryEntry, Int64, Int64, Int64)

Create a new ImageResourceDirectory object.

Declaration
public ImageResourceDirectory(IRawFile peFile, ImageResourceDirectoryEntry parent, long offset, long resourceDirOffset, long resourceDirLength)
Parameters
Type Name Description
IRawFile peFile

A PE file.

ImageResourceDirectoryEntry parent

Higher level directory entry which wraps this directory.

System.Int64 offset

Raw offset to the resource directory.

System.Int64 resourceDirOffset

Raw offset to the resource directory entries.

System.Int64 resourceDirLength

Length of the resource directory entries.

Properties

| Improve this Doc View Source

Characteristics

Characteristics.

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

DirectoryEntries

Array with the different directory entries.

Declaration
public List<ImageResourceDirectoryEntry>? DirectoryEntries { get; }
Property Value
Type Description
System.Nullable<List<ImageResourceDirectoryEntry>>
| Improve this Doc View Source

MajorVersion

Major version.

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

MinorVersion

Minor version.

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

NumberOfIdEntries

Number of ID entries.

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

NumberOfNameEntries

Number of named entries.

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

Parent

Backwards connection to the parent. Higher level directory entry which wraps this directory.

Declaration
public ImageResourceDirectoryEntry Parent { get; }
Property Value
Type Description
ImageResourceDirectoryEntry
| 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
In This Article
Back to top Generated by DocFX