Class ImageResourceDirectory
The resource directory contains icons, mouse pointer, string language files etc. which are used by the application.
Inherited Members
Namespace: PeNet.Header.Pe
Assembly: PeNet.dll
Syntax
public class ImageResourceDirectory : AbstractStructure
Constructors
| Edit this page View SourceImageResourceDirectory(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 SourceCharacteristics
Characteristics.
Declaration
public uint Characteristics { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
DirectoryEntries
Array with the different directory entries.
Declaration
public List<ImageResourceDirectoryEntry?>? DirectoryEntries { get; }
Property Value
| Type | Description |
|---|---|
| List<ImageResourceDirectoryEntry> |
MajorVersion
Major version.
Declaration
public ushort MajorVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |
MinorVersion
Minor version.
Declaration
public ushort MinorVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |
NumberOfIdEntries
Number of ID entries.
Declaration
public ushort NumberOfIdEntries { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |
NumberOfNameEntries
Number of named entries.
Declaration
public ushort NumberOfNameEntries { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |
Parent
Backwards connection to the parent. Higher level directory entry which wraps this directory.
Declaration
public ImageResourceDirectoryEntry? Parent { get; }
Property Value
| Type | Description |
|---|---|
| ImageResourceDirectoryEntry |
TimeDateStamp
Time and date stamp.
Declaration
public uint TimeDateStamp { get; set; }
Property Value
| Type | Description |
|---|---|
| uint |