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
Correct Answer is (A) CurrentApp
if(CurrentApp.LicenseInformation.IsTrial) { }