Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LicenseInformation.ExpirationDate | expirationDate property

Gets the license expiration date and time relative to the system clock.

Syntax


var expirationDate = licenseInformation.expirationDate;

Property value

Type: Date [JavaScript] | System.DateTimeOffset [.NET] | Windows::Foundation::DateTime [C++]

The date and time that the app's trial license will expire.

ValueMeaning
a valid date value

The license is active and expires on this date.

This occurs during the app's trial period.

maxDate

The license is active and never expires.

This occurs after the customer buys the app.

minDate

The license is not active.

 

Remarks

Windows Phone 8

This API always returns 9999 – 12 – 31 (ETERNITY_FILETIME_TIME).

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.ApplicationModel.Store
Windows::ApplicationModel::Store [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.ApplicationModel.Store
Windows::ApplicationModel::Store [C++]

Metadata

Windows.winmd

See also

LicenseInformation

 

 

Show:
© 2015 Microsoft