This question already has answers here: How do you get the icon, MIME type, and application associated with a file in the Linux Desktop?
As far as I can tell, there have been (at least?) three types of icon embedding. There\'s the original style used by shell32.dll and friends, .NET\'s embedding, and the new type that WPF uses. I\'m lo
I\'ve read Get File Icon used by Shell and the other similar p开发者_StackOverflow中文版osts - and already use SHFileInfo to get the associated icon for any given extension, and that works great.