Skip to content

IShellIconProvider.GetRealIcon method

The actual per-file/volume icon by real path (embedded exe icon, custom volume icon). Touches the file system, so callers must invoke it off the UI thread. Null if unavailable.

public ImageSource? GetRealIcon(string path, int sizePx)