Jun
11
Diving into Licensing Class of Windows Phone 7
| 234 views | Print This Post
|
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















