How Can I Launch The App-store App Directly from m

2019-08-05 05:58发布

问题:

I want to place a button or a link in my app with which the user can start the app-store and buy my app if the app is in trial mode.

I can not find any relavant Information on this. How can I implement this?

回答1:

MSDN documentation: Creating links with the Windows Store protocol. Alternatively, the URI for the app in the store can be accessed using the Windows.ApplicationModel.Store.CurrentApp.LinkUri property.

You can then open a link to your app in the store using Windows.System.Launcher.LaunchUriAsync.