net10.0
namespace System.Drawing
{
    public sealed class Graphics : MarshalByRefObject, IDeviceContext, IDisposable
    {
        [EditorBrowsable(EditorBrowsableState.Never)]
        [Obsolete("Use the Graphics.GetContextInfo overloads that accept arguments for better performance and fewer allocations.", DiagnosticId = "SYSLIB0016", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
        [SupportedOSPlatform("windows")]
        public object! GetContextInfo();
    }
}
nuget.org
0.0 %
Reference this API
Design Reviews
.NET
5.06.07.08.09.010.0
.NET Core
3.03.1
.NET Framework
2.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
Information specific to net10.0
Assembly

System.Drawing.Common , Version=10.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

Your project needs a package reference to System.Drawing.Common.

Package System.Drawing.Common (10.0.1) net10.0
Obsolete SYSLIB0016: Use the Graphics.GetContextInfo overloads that accept arguments for better performance and fewer allocations.
Platform Restrictions

This API is only supported on the following platforms:

  • Windows
  • Built-in API
  • Package-provided API