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

StockIconOptions

public enum StockIconOptions
Provides options for use with GetStockIcon.
Default = 0

Use the defaults, which is to retrieve a large version of the icon (as defined by the current system metrics).

LinkOverlay = 32768

Add a link overlay onto the icon.

Selected = 65536

Blend the icon with the system highlight color.

Retrieve the shell icon size of the icon.

Retrieve the small version of the icon (as defined by the current system metrics).