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

IHdcContext

interface IHdcContext
namespace Windows.Win32.Graphics.Gdi { internal interface IHdcContext { HDC GetHdc(); void ReleaseHdc(); } }