Class IconExtractor
- Namespace
- SunamoPInvoke.PInvoke
- Assembly
- SunamoPInvoke.dll
Provides constants and utilities for extracting file and folder icons via the Windows Shell API. Icon extraction methods are not available in .NET Core (require System.Drawing).
public class IconExtractor
- Inheritance
-
IconExtractor
- Inherited Members
- Extension Methods
Fields
FILE_ATTRIBUTE_DIRECTORY
File attribute flag indicating a directory.
public const uint FILE_ATTRIBUTE_DIRECTORY = 16
Field Value
SHGFI_ICON
Flag to retrieve the icon handle.
public const uint SHGFI_ICON = 256
Field Value
SHGFI_LARGEICON
Flag to retrieve the large icon.
public const uint SHGFI_LARGEICON = 0
Field Value
SHGFI_OPENICON
Flag to retrieve the open icon.
public const uint SHGFI_OPENICON = 2
Field Value
SHGFI_SMALLICON
Flag to retrieve the small icon.
public const uint SHGFI_SMALLICON = 1
Field Value
SHGFI_USEFILEATTRIBUTES
Flag to use the passed file attributes.
public const uint SHGFI_USEFILEATTRIBUTES = 16