C# Class PeNet.Structures.IMAGE_RESOURCE_DIRECTORY

The resource directory contains icons, mouse pointer, string language files etc. which are used by the application.
Inheritance: AbstractStructure
Datei anzeigen Open project: secana/PeNet Class Usage Examples

Public Properties

Property Type Description
DirectoryEntries PeNet.Structures.IMAGE_RESOURCE_DIRECTORY_ENTRY[]

Public Methods

Method Description
IMAGE_RESOURCE_DIRECTORY ( byte buff, uint offset, uint resourceDirOffset ) : System

Create a new IMAGE_RESOURCE_DIRECTORY object.

ToString ( ) : string

Returns a string that represents the current object.

Private Methods

Method Description
ParseDirectoryEntries ( uint resourceDirOffset ) : PeNet.Structures.IMAGE_RESOURCE_DIRECTORY_ENTRY[]
SanityCheckFailed ( ) : bool

Method Details

IMAGE_RESOURCE_DIRECTORY() public method

Create a new IMAGE_RESOURCE_DIRECTORY object.
public IMAGE_RESOURCE_DIRECTORY ( byte buff, uint offset, uint resourceDirOffset ) : System
buff byte A PE file as a byte array.
offset uint Raw offset to the resource directory.
resourceDirOffset uint Raw offset to the resource directory entries.
return System

ToString() public method

Returns a string that represents the current object.
public ToString ( ) : string
return string

Property Details

DirectoryEntries public_oe property

Array with the different directory entries.
public IMAGE_RESOURCE_DIRECTORY_ENTRY[],PeNet.Structures DirectoryEntries
return PeNet.Structures.IMAGE_RESOURCE_DIRECTORY_ENTRY[]