Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I've developed a Windows 8.1 Store App and have integrated code for converting a trial to full license. When I check the LicenceInformation.IsTrial property, it always returns false in the release version. Here's the method from the License class I created that accesses the License Information:
C#
private static LicenseInformation _information;
public static LicenseInformation Information
    {
        get
        {
            return _information ?? (_information = Helpers.IsDebugMode
               ? CurrentAppSimulator.LicenseInformation
               : CurrentApp.LicenseInformation);
        }
    }

I've submitted the app to the Store but nobody can purchase it because the it appears to be already purchased when my code checks the Information property. Why would this happen?
Posted
Comments
Richard MacCutchan 21-Feb-15 13:46pm    
What are the values of all these variables?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900