title: Windows Phone 8 trial expiration time
body: <p>On WP8 there is a LicenseInformation class to get to know whether the app is in trial state or is already bought.</p>
  <p>Now what I want to do is to make my app to work in trial mode only for 7 days (and expire afterwards).</p>
  <p>The docs on MSDN are now somewhat misleading on this topic, so I have these questions after reading them.</p>
  <ol>
  <li><p>Is LicenseInformation.ExpirationDate useless for my purpose? <a href="http://msdn.microsoft.com/en-us/library/windowsphone/develop/windows.applicationmodel.store.licenseinformation.expirationdate.aspx" rel="nofollow noreferrer">&quot;This API always returns 9999 – 12 – 31 (ETERNITY_FILETIME_TIME).&quot;</a> It seems that trial licence itself never expires, is this correct?</p>
  </li>
  <li><p>Can LicenseInformation.IsActive be used instead? &quot;<a href="http://msdn.microsoft.com/en-us/library/windowsphone/develop/windows.applicationmodel.store.licenseinformation.isactive.aspx" rel="nofollow noreferrer">May return false if the license is missing, <strong>expired</strong>, or revoked.</a>&quot;, &quot;<a href="http://msdn.microsoft.com/en-us/library/windowsphone/develop/windows.applicationmodel.store.licenseinformation.istrial.aspx" rel="nofollow noreferrer">IsTrial returns true even after the trial period ends. IsActive, however, will return false after the trial period ends.</a>&quot; If so, how can I set the expiration date?</p>
  </li>
  </ol>
  <p>Thank you!</p>