mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-14 02:02:57 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
42 lines
1.4 KiB
C#
42 lines
1.4 KiB
C#
namespace SabreTools.Data.Models.PortableExecutable.Resource.Entries
|
|
{
|
|
/// <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"/>
|
|
public sealed class VarFileInfo
|
|
{
|
|
/// <summary>
|
|
/// The length, in bytes, of the entire VarFileInfo block, including all structures
|
|
/// indicated by the Children member.
|
|
/// </summary>
|
|
public ushort Length { get; set; }
|
|
|
|
/// <summary>
|
|
/// This member is always equal to zero.
|
|
/// </summary>
|
|
public ushort ValueLength { get; set; }
|
|
|
|
/// <summary>
|
|
/// The type of data in the version resource.
|
|
/// </summary>
|
|
public VersionResourceType ResourceType { get; set; }
|
|
|
|
/// <summary>
|
|
/// The Unicode string L"VarFileInfo".
|
|
/// </summary>
|
|
public string Key { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// As many zero words as necessary to align the Children member on a 32-bit boundary.
|
|
/// </summary>
|
|
public ushort Padding { get; set; }
|
|
|
|
/// <summary>
|
|
/// Typically contains a list of languages that the application or DLL supports.
|
|
/// </summary>
|
|
public VarData[] Children { get; set; } = [];
|
|
}
|
|
}
|