IconsSystemShield Property

Shield (small version for the summary) Gets an Icon instance that contains the Shield icon as it is displayed by the current operating system.
On Windows Vista and above sizes are depending on current DPI settings, on Windows XP the icon has always 48x48, 32x32 and 16x16 image sizes in three different color depths and in Linux (Mono) the icon contains a 29x32 and a 16x16 image.

Definition

Namespace: KGySoft.Drawing
Assembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 8.1.0
C#
public static Icon SystemShield { get; }

Property Value

Icon

Remarks

On Windows 11 at 100% DPI settings the icon contains the following images:
Shield Windows 8/10 32x32 Windows 11Shield Windows 8/10 16x16 Windows 11

On Windows 8 and Windows 10 at 100% DPI settings the icon contains the following images:
Shield Windows 8/10 32x32 Windows 10Shield Windows 8/10 16x16 Windows 10

On Windows 7 at 100% DPI settings the icon contains the following images:
Shield Windows 7 32x32Shield Windows 7 16x16

On Windows Vista at 100% DPI settings the icon contains the following images:
Shield Windows Vista 32x32Shield Windows Vista 16x16

On Windows XP the icon contains three different color depth version of the following images:
Shield Windows XP 48x48Shield Windows XP 32x32Shield Windows XP 16x16

On Linux/Mono the icon contains the following images:
Shield Linux/Mono 29x32Shield Linux/Mono 16x16

  Note

On Linux the .NET Core build mistakenly returns the SystemError icon, which is an issue in the SystemIcons implementation of .NET Core.

See Also