是否可以为
Windows Phone 8应用创建应用内购买产品,该应用会在一段时间后自动过期?使用Windows Phone仪表板创建应用程序内产品时,似乎没有办法设置过期时间(例如6个月,15天等),但另一方面,ProductLicense-class包含
ExpirationDate属性.
该属性只是Windows 8应用程序的剩余部分,还是有办法设置Windows Phone 8应用程序内购买的到期日期?
解决方法
WP8不支持ProductLicense.ExpirationDate.它适用于Win8 API兼容性.
Windows Phone 8
This API is not implemented and will throw an exception if called.