Get Icon from UWP App

后端 未结 3 1894

I want to extract the icon of an UWP App to build a Explorer like \"Open With\" menue.

With the help of SHAssocEnumHandlers i managed to get the associated applications

3条回答
  •  庸人自扰
    2021-02-08 15:57

    I think you have to combine both,

    first check AppxManifest.xml and search for uap:VisualElements block,

    then find Square150x150Logo key in it,

    then get the related value and find the file in the given address and use it.

提交回复
热议问题