ProductLicense.ExpirationDate Property

Gets the expiration date and time of the license.

Syntax

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

Property value

Type: DateTime 

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

If the date is a valid date value the license is active and expires on that date. This occurs during the app’s trial period.

If the maximum allowed date value is returned, the license is active and never expires. This occurs after the customer buys the app.

If the minimum allowed date value is returned, the license is not active.

Requirements

Namespace: Windows.ApplicationModel.Store

Metadata: windows.winmd

See also

Reference

ProductLicense Class

ProductLicense Members

Windows.ApplicationModel.Store Namespace