The most important thing is that you need to use IsTrail() method in your app if you provide trial version.
- Try to use IsTrail() method
IsTrail() method's document is here.
Also see here.
Sample code is here.
using Microsoft.Phone.Marketplace;
public static bool TrialVersion;
LicenseInformation licenseInfo = new LicenseInformation();
TrialVersion = licenseInfo.IsTrial();
if (!TrialVersion)
{
button1.Visibility = Visibility.Collapsed;
}
else
{
button1.Visibility = Visibility.Visible;
}
When you use IsTrail() method, the method communicate with Market Place and check your status. So, you had better use IsTrail() method only once in your app.
No comments:
Post a Comment