Files
BinaryObjectScanner/BinaryObjectScanner.Models/PortableExecutable/ResourceDirectoryString.cs

24 lines
899 B
C#
Raw Normal View History

2023-03-07 16:59:14 -05:00
namespace BinaryObjectScanner.Models.PortableExecutable
2022-11-05 22:45:18 -07:00
{
/// <summary>
/// The resource directory string area consists of Unicode strings, which
/// are word-aligned. These strings are stored together after the last
/// Resource Directory entry and before the first Resource Data entry.
/// This minimizes the impact of these variable-length strings on the
/// alignment of the fixed-size directory entries.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
2022-12-27 17:12:55 -08:00
public sealed class ResourceDirectoryString
2022-11-05 22:45:18 -07:00
{
/// <summary>
/// The size of the string, not including length field itself.
/// </summary>
public ushort Length;
/// <summary>
/// The variable-length Unicode string data, word-aligned.
/// </summary>
public byte[] UnicodeString;
}
}