You are developing a Universal Windows Platform (UWP) app.
You plan to publish the app to the Microsoft Store. The app will have a 30-day trial mode.
During the trial mode, you need to limit the number of exposed features.
Which object should you use to ascertain whether the app is running in trial mode?
A.
CurrentApp
B.
ListingInformation
C.
Current
D.
Application
Explanation:
Exclude or limit features in a trial version by using the current license state of your app, that is stored as
properties of the LicenseInformation class.https://msdn.microsoft.com/en-us/library/windows/apps/mt219685.aspx
wrong asnwer
correct answer A – CurrentApp
https://docs.microsoft.com/pl-pl/windows/uwp/monetize/exclude-or-limit-features-in-a-trial-version-of-your-app
You are right. ListingInformation does not provide any license information, but CurrentApp does: https://docs.microsoft.com/en-us/uwp/api/windows.applicationmodel.store.listinginformation