我可以从进程中获取可执行位置,如何从文件中获取图标?
也许使用 Windows api LoadIcon()。我想知道是否有.NET方式...
Icon ico = Icon.ExtractAssociatedIcon(theProcess.MainModule.FileName);