Skip to main content
  • 225 Accesses

Abstract

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. LicenseInf ormation is a sealed class that contains the methods you&ll use to test your applications. You have already learned how to deploy applications to the Windows Phone Marketplace in Chapter 5; in this chapter, you will learn how to add a trial option to applications you deploy so that your potential customers have a chance to try your applications before they buy them. The IsTrial method determines whether an application is running under a trial or a full license, allowing you to limit your application based on the result that IsTrial returns.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2010 by Henry Lee & Eugene Chuvyrov

About this chapter

Cite this chapter

Lee, H., Chuvyrov, E. (2010). Creating Trial Applications. In: Beginning Windows Phone 7 Development. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-3217-9_11

Download citation

Publish with us

Policies and ethics