Today, most mobile software vendors maintain two versions of their application code, one for the trial version and another for purchase. The code base for the trial version typically includes some—but not all—of the functionality of the full version, as well as code that urges users to upgrade to the full version of the product. The Windows Phone 7 platform, however, eliminates the need for this practice thanks to the handy
IsTrial method. The
IsTrial method of the
Microsoft.Phone.Marketplace.LicenseInformation class provides the functionality you need to create a trial version.
Microsoft.Phone.Marketplace.LicenseInformation is a sealed class that contains the methods you'll use to test your applications. ...