Helping the User Purchase a Full License

Regardless of whether your trial is time-based or unlimited, and whether you change your app’s features in trial mode, it’s common practice to periodically (and politely) remind trial users to purchase the full license. For this to be most effective, you want to provide some sort of link or button that makes it effortless for them to purchase it from within your app.

One way you could do this is by calling Launcher.LaunchUriAsync with CurrentApp.LinkUri. This is a link to the appropriate page in the Web-based version of the Windows Store. Even better, you can use a URI with the ms-windows-store scheme to launch the appropriate page in the Store app. This URI scheme also supports launching custom search ...

Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.