using System.Runtime.InteropServices; namespace SabreTools.Data.Models.CHD { /// [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] public abstract class Header { /// /// 'MComprHD' /// [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 8)] public string Tag = string.Empty; /// /// Length of header (including tag and length fields) /// public uint Length; /// /// Drive format version /// public uint Version; } }