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
object
AbstractStructure
ImageResourceDirectory
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: PeNet.Header.Pe
Assembly: PeNet.dll
Syntax
public class ImageResourceDirectory : AbstractStructure

Constructors

| Edit this page View Source

ImageResourceDirectory(IRawFile, ImageResourceDirectoryEntry?, long, long, long)

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.

long offset

Raw offset to the resource directory.

long resourceDirOffset

Raw offset to the resource directory entries.

long resourceDirLength

Length of the resource directory entries.

Properties

| Edit this page View Source

Characteristics

Characteristics.

Declaration
public uint Characteristics { get; set; }
Property Value
Type Description
uint
| Edit this page View Source

DirectoryEntries

Array with the different directory entries.

Declaration
public List<ImageResourceDirectoryEntry?>? DirectoryEntries { get; }
Property Value
Type Description
List<ImageResourceDirectoryEntry>
| Edit this page View Source

MajorVersion

Major version.

Declaration
public ushort MajorVersion { get; set; }
Property Value
Type Description
ushort
| Edit this page View Source

MinorVersion

Minor version.

Declaration
public ushort MinorVersion { get; set; }
Property Value
Type Description
ushort
| Edit this page View Source

NumberOfIdEntries

Number of ID entries.

Declaration
public ushort NumberOfIdEntries { get; set; }
Property Value
Type Description
ushort
| Edit this page View Source

NumberOfNameEntries

Number of named entries.

Declaration
public ushort NumberOfNameEntries { get; set; }
Property Value
Type Description
ushort
| Edit this page 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
| Edit this page View Source

TimeDateStamp

Time and date stamp.

Declaration
public uint TimeDateStamp { get; set; }
Property Value
Type Description
uint
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX