|
GetLicenseType |
Top Previous Next |
|
This function returns type of license code. By default, project has only one license type (Full version, TypeID = 1). If you need more than one type of license you should add them manually at the Purchases tab page.
public static int IntelliProtector.GetLicenseType();
Parameters
No parameters.
Return value
Returns type of license code.
Requirements
file: IntelliProtector.cs namespace: IntelliProtectorService;
Example
public void MP3Encode_ProVersion() { int iLicenseType = IntelliProtector.GetLicenseType();
const int ciLiteVersion = 1; const int ciBasicVersion = 2; const int ciProVersion = 3;
// call this function during the trial period and for the Pro Version only... if (iLicenseType != -1 && iLicenseType != ciProVersion) return;
// encode mp3 here... } |
| Copyright © 2011 intelliprotector.com |