On windows store app submission there is a place where it lets you specify a trial period (24 hours or 7 days...). In order to use this feature do i have to implement a code that kills the app after the specified time (The windows store option being just a declaration of the intention) or does the windows run-time handles the killing.
相关问题
- Inheritance impossible in Windows Runtime Componen
- Listview applies a check to other listview items h
- Programmatically read target platform during run t
- Replacing or recreating a file in Windows 8 RT kee
- Draw waveform from MP3 stream in C# on WinRT
相关文章
- Windows 8.1 How to fix this obsolete code?
- Show flyout using BottomAppBar
- Get English exception message instead of local lan
- How to remove an element from an IGrouping
- Exception when reading text from the file using Fi
- HttpUtility.HtmlDecode in WinRT
- Building Windows 8 Metro App on Windows 7 with Vis
- Loading Loose Xaml with custom controls on WinRT f
The following is from the MSDN document How to create a trial version of your app:
Here are a few common expiration scenarios and your options for handling them:
Trial license expires while the app is running, you can:
When you upload an app to the store you specify how long you would like a free trial to last for (a few days, all the way up to never expire).
When the trial expires the application will stop running and the user will be prompted to buy the application to continue using it.
Microsoft have a great sample showing you how to integrate a trial feature in your app. I suggest reading that.
MSDN also documents the different types of licenses available to you:
You can check the expiration date with
CurrentApp.LicenseInformation.ExpirationDate
.CurrentApp.LicenseInformation.IsActive
"may return false if the license is expired", which would indicate that you can run the app with an inactive license with say the purpose of displaying a custom UI asking the user to buy the app. That said - I haven't tested it to verify the correctness of the documentation.