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

System.Drawing.Imaging.BitmapData

public sealed class BitmapData
Specifies the attributes of a bitmap image. The BitmapData class is used by the LockBits and UnlockBits methods of the Bitmap class. Not inheritable.
namespace System.Drawing.Imaging { public sealed class BitmapData { public int Width { get; set; } public int Height { get; set; } public int Stride { get; set; } public PixelFormat PixelFormat { get; set; } public IntPtr Scan0 { get; set; } public int Reserved { get; set; } public BitmapData(); } }