I found this handy piece of code to determine if my application is in trial mode, with the added benefit of being able to test trial behavior in the emulator ...
public bool IsTrial
{
get
{
#if DEBUG
return true;
#endif
return new LicenseInformation().IsTrial();
}
}
And that’s great. I can adjust the behavior accordingly.
But besides this, I was hoping for some kind of built-in API where I can get a dialog box with a button to buy the application. Ideally, the button should take the user directly to the application on the market.
source
share