Reading current installed version of an application using windows api

后端 未结 3 771
清歌不尽
清歌不尽 2021-01-21 08:17

I was trying to use windows api to find out the version info of an installed application.

I used the upgrade code to find out the product code using MsiEnumRelatedProduc

3条回答
  •  醉话见心
    2021-01-21 08:54

    Application.ProductVersion works for me, no need to call WinAPI manually (I am still in .Net 1.1 though)

提交回复
热议问题