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

IBitmap

interface IBitmap
Platform agnostic interface for a bitmap.
using System.Drawing; using Windows.Win32.Graphics.Gdi; namespace System.Private.Windows.Graphics { internal interface IBitmap { Size Size { get; } HBITMAP GetHbitmap(); } }