PrepAway - Latest Free Exam Questions & Answers

You need to develop a solution that displays a notification on the main page that shows the number of days rem

DRAG DROP
You plan to deploy an app to the Windows Store. The app will have a trial mode of 30 days.
You need to develop a solution that displays a notification on the main page that shows the number
of days remaining before the trial mode expires.
Develop the solution by selecting and ordering the required code snippets. You may not need all of
the code snippets.

PrepAway - Latest Free Exam Questions & Answers

Answer: See the epxlanation.

Explanation:

Box 1:

Box 2:

Box 3:

Box 4:

Note:
* LicenseInformation.ExpirationDate | expirationDate property
Gets the license expiration date and time relative to the system clock.
* CurrentApp.LicenseInformation | licenseInformation property
Gets the license metadata for the current app.
* the variable expiration is a date. So you must subtract it with the current date.
Incorrect:
* CurrentAppSimulator.LicenseInformation | licenseInformation property
Gets the simulated license metadata for the current app as provided by the simulation.


Leave a Reply