且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用C#,如何检测我的UWP应用程序是否安装在Windows 10上

更新时间:2023-11-19 21:11:46

Hello,

You should use PackageManager Class to enumerate all packages and use your package family name to check whether it exist or not. For how to use PackageManager in your app read these  posts

The first is call Windows 10 API from desktop application .

The second is Launching Windows Store Apps Programmatically