Class ImageResourceDirectory
The resource directory contains icons, mouse pointer, string language files etc. which are used by the application.
Namespace: PeNet.Header.Pe
Assembly: PeNet.dll
Syntax
public class ImageResourceDirectory : AbstractStructure
Constructors
| Improve this Doc View SourceImageResourceDirectory(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 SourceCharacteristics
Characteristics.
Declaration
public uint Characteristics { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
DirectoryEntries
Array with the different directory entries.
Declaration
public List<ImageResourceDirectoryEntry>? DirectoryEntries { get; }
Property Value
Type | Description |
---|---|
System.Nullable<List<ImageResourceDirectoryEntry>> |
MajorVersion
Major version.
Declaration
public ushort MajorVersion { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
MinorVersion
Minor version.
Declaration
public ushort MinorVersion { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
NumberOfIdEntries
Number of ID entries.
Declaration
public ushort NumberOfIdEntries { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
NumberOfNameEntries
Number of named entries.
Declaration
public ushort NumberOfNameEntries { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
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 |
---|---|
System.UInt32 |