ProductLicense.ExpirationDate | expirationDate property

Applies to Windows and Windows Phone

Gets the expiration date and time of the license.

Syntax


var expirationDate = productLicense.expirationDate;

Property value

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

The date and time that the product's license expires.

ValueMeaning
a valid date value

The license is active and expires on this date.

This occurs during the product's lifetime (the time the product can be used).

maxDate

The license is active and never expires.

This occurs if the product's lifetime is forever.

minDate

The license is not active.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

See also

ProductLicense

 

 

Show:
© 2014 Microsoft. All rights reserved.