Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在我的WPF应用程序中获取关联的文件类型图标。目前我可以32x32使用System.Drawing.Icon.ExtractAssociatedIcon(filePath). 但是,我想要最大的可用图标。我怎样才能做到这一点?
WPF
32x32
System.Drawing.Icon.ExtractAssociatedIcon(filePath)
例如,我想获取 HTML 文件的图标,如下所示(在我的资源管理器中显示):