Which object should you use to ascertain whether the ap…

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?

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



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Ashraf

Ashraf

Correct Answer is (A) CurrentApp

if(CurrentApp.LicenseInformation.IsTrial) { }