Jun
11

Diving into Licensing Class of Windows Phone 7

by Adel Al Zubeir, under Development, Development, How to, Windows Phone, Windows Phone 7 Series
234 views Print This Post Print This Post
 
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading ... Loading ...

If you are building applications for Windows Phone 7 Marketplace you will love this.

It has never been easier to make a trial version of your application. A class provided my Microsoft makes it easier for us developers to build trial versions of our application in a very easy way.

On MSDN, Microsoft has documented a simple class which when calling it’s method IsTrial() the return value is a boolean expression which returns true if it is operating on Trial Mode and false if it is the full version.

The implementation should be like this.


Microsoft.Phone.License.LicenseInfo MyLicenseInfo = new Microsoft.Phone.License.LicenseInfo();
if (MyLicenseInfo.IsTrial())
{
// Do the limitation here
}

Find the Documentation here

Tag:


Leave a Reply

You must be logged in to post a comment.

© Copyright windows phone middle east 2009. All rights reserved. | Powered by Wordpress | Designed by ThemesGuy

Switch to our mobile site