0

I'm trying to get the system icon for specified folder path. I used the code from https://stackoverflow.com/a/23666202/2770274 and it partially works.

The problem is that when I run the application on Windows 10, I still get Windows 8 like icons:

enter image description here

Left - icon I get / Right - icon I would like to get

How can I get the actual folder icon for Windows 10 in C# code?

Community
  • 1
  • 1
Adassko
  • 5,201
  • 20
  • 37
  • The code in the accepted answer of [this](http://stackoverflow.com/questions/23666076/how-to-get-the-icon-associated-with-a-specific-folder/23666202#23666202) question, works perfect. – Jim Nov 04 '16 at 11:25
  • Hmmm, strange - it produces old style icons for me. Did you set anything in application manifest or platform target? – Adassko Nov 04 '16 at 11:39
  • Platform target on my test project is 4.5.2 - rest all default – Jim Nov 04 '16 at 11:41

0 Answers0