<PackageReference Include="System.Drawing.Common" Version="10.0.0-preview.6.25358.103" />
GetDcScope
Helper to scope lifetime of an
HDC retrieved via
GetDC and
GetDCEx. Releases the
HDC (if any)
when disposed.
Creates a DC scope for the primary monitor (not the entire desktop).