4
votes

Is it possible to create an in-app product purchase for a Windows Phone 8 app, which automatically expires after a period of time? When using the Windows Phone dashboard to create the in-app product, there doesn't seem to be a way to set an expiration time (for example 6 months, 15 days etc) but on the other hand the ProductLicense-class contains an ExpirationDate -property.

Is the property just a leftover from the Windows 8 apps or is there a way to set an expiration date for a Windows Phone 8 in-app purchase?

1

1 Answers

3
votes

ProductLicense.ExpirationDate isn't supported on WP8. It's there for Win8 API compatability.

Windows Phone 8

This API is not implemented and will throw an exception if called.

See @ http://msdn.microsoft.com/en-us/library/windowsphone/develop/windows.applicationmodel.store.productlicense.expirationdate.aspx