Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3876700
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T22:24:45+00:00 2026-05-19T22:24:45+00:00

Am I doing something incorrectly with this? My app went out last night, but

  • 0

Am I doing something incorrectly with this?

My app went out last night, but I noticed that my code for the free trial wasn’t firing. This method is being called and it always returning FALSE (Full Mode).

What am I doing wrong? Right now my app is free 🙁

    private static Boolean IsTrial()
    {
        #if DEBUG
            return false;
        #endif

        var license = new Microsoft.Phone.Marketplace.LicenseInformation();
        return license.IsTrial();
    }

Currently I have this app sideloaded on my machine. I am updating my pivot header and setting the status for the various checks I have. Right now in the SIDELOADED version it always returns false.

I downloaded my app from the MarketPlace last night (as a Free Trial). The production version is always returning False and so is the Sideloaded version.

Any ideas?

This is my calling code (just in case anyone is interested):

private void MainPage_Loaded(object sender, RoutedEventArgs e)
{

    pivotPills.Title = "PillBox v1.2 - Checking Mode:";
    App.ViewModel.RefreshTrialMode();
    pivotPills.Title = "PillBox v1.2 - Count:" + App.ViewModel.trialItemCollection.Count.ToString();
    //Checking Trial Mode:
    if (App.ViewModel.trialItemCollection.Count == 0)
    {
        trialMode tm = new trialMode();
        tm.IsTrial = true;
        tm.Save();
        pivotPills.Title = "PillBox v1.2 - Trial Mode:" + App.ViewModel.trialItemCollection.Count.ToString();
    }
    else
    {
        if (App.ViewModel.trialItemCollection[0].IsTrial == true) //If saved isTrial = true (still a trial) then check MarketPlace Task
        {
            if (IsTrial() == false) //Purchased App
            {
                App.ViewModel.trialItemCollection[0].IsTrial = false;
                StorageHelper.Save<ObservableCollection<trialMode>>(App.trialModeData, App.ViewModel.trialItemCollection);
                pivotPills.Title = "PillBox v1.2 - Unlimited";
            }
            else //Still in Trial Mode
            {
                //show marketplace window
                NavigationService.Navigate(new Uri("/MarketPlace.xaml", UriKind.Relative));
            }
        }
    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T22:24:45+00:00Added an answer on May 19, 2026 at 10:24 pm

    The IsTrial method always returns false when you are running in the emulator (which I presume is the case for you). Check out the How to: Test and Debug Your Trial Application for Windows Phone article on MSDN for help debugging trial applications.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm doing something like zgrep somepattern access_log.X.gz But I find that a lot of
I'm probably doing something realy stupid but I cant get this to work: var
I may be doing something wrong, but I haven't been able to find a
I am doing something like this in myproject.myapp.urls : from django.conf.urls.defaults import * urlpatterns
So obviously I am doing something wrong, but I just cannot seem to get
Maybe I'm doing something wrong but I have a textarea where I've specified textAlign
I thought I had this sorted, but I am still missing something. Very simply,
Can any help with this, sure it is something simple but can't see it.
I'm sure I am just doing something really dumb and not seeing it but
I'm making an iOS app that sends a username string to this PHP file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.