Core.Tools.License.LicenseManager Class Reference
Summary description for Class1.
More...
List of all members.
|
Public Member Functions |
| | LicenseManager (Core.Interfaces.IApplicationContext context) |
| bool | PrepareLicense () |
| bool | FinalizeLicense () |
| bool | AcceptEULA () |
| bool | CheckEULAAccepted () |
Static Public Member Functions |
| static License | NewTrialLicense () |
| static int | GetRemainingConsumption (Core.Tools.License.License in_lic) |
| static License | GetLicenseFromConfig (byte[] b) |
| static License | GetLicenseFromConfig (byte[] b, Core.Interfaces.ISecurityManager signatory) |
| static License | GetLicenseFromConfig (byte[] b, Core.Interfaces.ISecurityManager signatory, Core.Interfaces.ISecurityManager cipher) |
| static License | GetLicenseFromConfig (String s, Core.Interfaces.ISecurityManager sm) |
| static License | GetLicenseFromConfig (String s, Core.Interfaces.ISecurityManager signatory, Core.Interfaces.ISecurityManager cipher) |
| static License | GetLicenseFromConfig (String s) |
| static License | GetLicenseFromConfig (Core.Interfaces.IConfig config) |
| static License | GetLicenseFromConfig (Core.Interfaces.IConfig config, Core.Interfaces.ISecurityManager signatory) |
| static License | GetLicenseFromConfig (Core.Interfaces.IConfig config, Core.Interfaces.ISecurityManager signatory, Core.Interfaces.ISecurityManager cipher) |
| static Core.Interfaces.IConfig | SerializeLicense (Core.Tools.License.License in_license) |
| static String | SerializeLicenseToString (Core.Tools.License.License in_license) |
| static bool | SerializeLicenseToFile (Core.Tools.License.License in_license, String path) |
| static bool | IsUnrestrictedLicense (License in_lic) |
| static bool | IsMultiLicense (License in_lic) |
| static bool | IsSingleLicense (License in_lic) |
| static bool | IsTrialLicense (License in_lic) |
| static bool | IsLicenseExpired (License in_lic) |
| static bool | ValidateLicense (License in_lic) |
| static String | Pad (String i, int l) |
| static String | Pad (int i, int l) |
| static Core.Tools.License.License | ConfirmTrialLicense (Core.Tools.License.License in_license, Core.Interfaces.ISecurityManager security_manager) |
Static Public Attributes |
| static String | TRIAL_LICENSE_FILE = "TRIAL_LICENSE" |
| static String | LICENSE_FILE = "LICENSE" |
| static String | SIGNED_EULA = "SIGNED_EULA" |
| static String | LICENSE_USER_PASSWORD = "l1c3nc3u53r" |
Properties |
| bool | IsLicensed [get] |
| String | EULA [get, set] |
| bool | EULAAccepted [get] |
| bool | TrialMode [get] |
Private Attributes |
| bool | in_trial = false |
| bool | eula_accepted = false |
| String | eula_text = null |
| bool | is_licensed = false |
| Core.Interfaces.IApplicationContext | context = null |
Static Private Attributes |
| static String | ACCESS_LEVEL_TRIAL = "TRI" |
| static String | ACCESS_LEVEL_LICENSE_1 = "IL1" |
| static String | CONSUMPTION_DAYS = "D" |
| static String | CONSUMPTION_UNRESTRICTED = "U" |
| static String | CONSUMPTION_SINGLE = "S" |
| static String | CONSUMPTION_MULTI = "M" |
Detailed Description
Summary description for Class1.
Constructor & Destructor Documentation
Member Function Documentation
| bool Core.Tools.License.LicenseManager.PrepareLicense |
( |
|
) |
|
| bool Core.Tools.License.LicenseManager.FinalizeLicense |
( |
|
) |
|
| static License Core.Tools.License.LicenseManager.NewTrialLicense |
( |
|
) |
[static] |
| static License Core.Tools.License.LicenseManager.GetLicenseFromConfig |
( |
byte[] |
b |
) |
[static] |
| static License Core.Tools.License.LicenseManager.GetLicenseFromConfig |
( |
String |
s |
) |
[static] |
| static bool Core.Tools.License.LicenseManager.SerializeLicenseToFile |
( |
Core.Tools.License.License |
in_license, |
|
|
String |
path | |
|
) |
| | [static] |
| bool Core.Tools.License.LicenseManager.AcceptEULA |
( |
|
) |
|
| bool Core.Tools.License.LicenseManager.CheckEULAAccepted |
( |
|
) |
|
| static bool Core.Tools.License.LicenseManager.IsUnrestrictedLicense |
( |
License |
in_lic |
) |
[static] |
| static bool Core.Tools.License.LicenseManager.IsMultiLicense |
( |
License |
in_lic |
) |
[static] |
| static bool Core.Tools.License.LicenseManager.IsSingleLicense |
( |
License |
in_lic |
) |
[static] |
| static bool Core.Tools.License.LicenseManager.IsTrialLicense |
( |
License |
in_lic |
) |
[static] |
| static bool Core.Tools.License.LicenseManager.IsLicenseExpired |
( |
License |
in_lic |
) |
[static] |
| static bool Core.Tools.License.LicenseManager.ValidateLicense |
( |
License |
in_lic |
) |
[static] |
| static String Core.Tools.License.LicenseManager.Pad |
( |
String |
i, |
|
|
int |
l | |
|
) |
| | [static] |
| static String Core.Tools.License.LicenseManager.Pad |
( |
int |
i, |
|
|
int |
l | |
|
) |
| | [static] |
Member Data Documentation
Property Documentation
bool Core.Tools.License.LicenseManager.IsLicensed [get] |
String Core.Tools.License.LicenseManager.EULA [get, set] |
bool Core.Tools.License.LicenseManager.EULAAccepted [get] |
bool Core.Tools.License.LicenseManager.TrialMode [get] |
The documentation for this class was generated from the following file: