namespace SabreTools.Models.PortableExecutable
{
///
/// Represents the organization of data in a file-version resource. It contains version
/// information not dependent on a particular language and code page combination.
///
///
public sealed class VarFileInfo
{
///
/// The length, in bytes, of the entire VarFileInfo block, including all structures
/// indicated by the Children member.
///
public ushort Length { get; set; }
///
/// This member is always equal to zero.
///
public ushort ValueLength { get; set; }
///
/// The type of data in the version resource.
///
public VersionResourceType ResourceType { get; set; }
///
/// The Unicode string L"VarFileInfo".
///
#if NET48
public string Key { get; set; }
#else
public string? Key { get; set; }
#endif
///
/// As many zero words as necessary to align the Children member on a 32-bit boundary.
///
public ushort Padding { get; set; }
///
/// Typically contains a list of languages that the application or DLL supports.
///
#if NET48
public VarData[] Children { get; set; }
#else
public VarData?[]? Children { get; set; }
#endif
}
}