2023-03-07 16:59:14 -05:00
|
|
|
|
namespace BinaryObjectScanner.Models.PortableExecutable
|
2022-11-09 15:17:53 -08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Represents the organization of data in a file-version resource. It contains version
|
|
|
|
|
|
/// information not dependent on a particular language and code page combination.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/varfileinfo"/>
|
2022-12-27 17:12:55 -08:00
|
|
|
|
public sealed class VarFileInfo
|
2022-11-09 15:17:53 -08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The length, in bytes, of the entire VarFileInfo block, including all structures
|
|
|
|
|
|
/// indicated by the Children member.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public ushort Length;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// This member is always equal to zero.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public ushort ValueLength;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The type of data in the version resource.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public VersionResourceType ResourceType;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The Unicode string L"VarFileInfo".
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Key;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// As many zero words as necessary to align the Children member on a 32-bit boundary.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public ushort Padding;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Typically contains a list of languages that the application or DLL supports.
|
|
|
|
|
|
/// </summary>
|
2022-11-09 15:53:40 -08:00
|
|
|
|
public VarData[] Children;
|
2022-11-09 15:17:53 -08:00
|
|
|
|
}
|
|
|
|
|
|
}
|