<PackageReference Include="System.Drawing.Common" Version="10.0.0-preview.1.25080.3" />

BinaryLibrary

Library full name information.
using System.IO; using System.Runtime.CompilerServices; namespace System.Private.Windows.BinaryFormat.Serializer { [NullableContext(1)] [Nullable(0)] internal sealed class BinaryLibrary : IRecord<BinaryLibrary>, IRecord { public Id LibraryId { get; } public string LibraryName { get; } Id IRecord.Id { get { return LibraryId; } } public static RecordType RecordType => RecordType.BinaryLibrary; public BinaryLibrary(Id libraryId, string libraryName) { LibraryId = libraryId; LibraryName = libraryName; } public void Write(BinaryWriter writer) { writer.Write((byte)RecordType); writer.Write(LibraryId); writer.Write(LibraryName); } } }