LicenseInformation.ExpirationDate Property

An app’s license expiration date and time relative to the system clock.

Syntax

public:
property DateTime ExpirationDate {
         DateTime get ();
}  

Property value

Type: DateTime 

  The date and time when the app’s license will expire.

During the app’s trial period, a valid value for ExpirationDate indicates the date and time of expiration of the trial period.

After the customer buys the app, ExpirationDate retrieves the maximum allowed date and time if the license is active and never expires. If the property retrieves the minimum allowed date and time, the license is not active.

Requirements

Namespace: Windows.ApplicationModel.Store

Metadata: windows.winmd

See also

Reference

LicenseInformation Class

LicenseInformation Members

Windows.ApplicationModel.Store Namespace