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.
Select and Place:
Correct Answer:
Explanation/Reference:
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.