public MainWindow()
{
InitializeComponent();
WindowsShellService sh = new WindowsShellService();
var shTmp = sh.CreateObjectForParsingName(@"C:\Users\rex_h\AppData\Local\Temp");
var item = shTmp.Children[0];
if (item.SmallIcon == null)
Debug.WriteLine("SmallIcon is null");
if (item.MediumIcon == null)
Debug.WriteLine("MediumIcon is null");
if (item.LargeIcon == null)
Debug.WriteLine("LargeIcon is null");
if (item.ExtraLargeIcon == null)
Debug.WriteLine("ExtraLargeIcon is null");
}
I do not understand why LargeIcon is null while all the other icons have values.