Skip to content

IShellIconProvider.GetIcon method

Icon for a file type. Non-blocking (by extension/type only, never touches path on disk, so a disconnected share/spun-down drive cannot block the UI). Null falls back to vector icons.

public ImageSource? GetIcon(string path, bool isDirectory, int sizePx)