Launching the Windows Store listing from Win RT /

2019-06-01 07:17发布

On Windows Phone there's a marketplace review task.

Is there any way to implement the equivalent functionality in WinRT apps?

I realize that there's the "rate and review" button in the Charms bar, however, this is not what I need, as I want to integrate a button inside the app to launch the review UI.

It may seem trivial, however, this is one of the most important requirements!

This is not a duplicate of is there an equivalent of wp7's marketplacereviewtask for windows 8 / winrt / metro style? because the questioner was happy with the Charms bar method.

thanks

1条回答
倾城 Initia
2楼-- · 2019-06-01 08:18

This can be done in C# this way:

Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:REVIEW?PFN=PACKAGENAME"));

Where Package Name is to be replaced with yours, which can be found in Package.appxmanifest under the packaging tab.

查看更多
登录 后发表回答