<PackageReference Include="System.Drawing.Common" Version="9.0.10" />

IHdcContext

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