TLLInterface Class |
Namespace: TreeksLicensingLibrary2.EasyIntegration
The TLLInterface type exposes the following members.
Name | Description | |
---|---|---|
TLLInterface |
Empty constructor for COM apps
| |
TLLInterface(Boolean) |
Empty constructor for COM applications.
| |
TLLInterface(TLLInitChunk, Boolean) |
Initializes class with TLL Init Chunk object
| |
TLLInterface(Byte, String, Boolean) |
Initializes class with bytes from Init Chunk Generator and password
|
Name | Description | |
---|---|---|
CurrentLicenseFilePath | ||
HWID |
Contains information about hardware ID of machine where this library is running.
| |
InitChunk |
Returns actual initchunk object
| |
LastVerificationResult |
This property holds last license verification result. When license validation fails, this variable will give you more information about why license was denied.
| |
LicenseVerificator |
Property holding LicenseVerification object for TLLInterface class
| |
MyLicense |
Returns details of active license.
| |
NagScreenConfig |
This class holds nag screen configuraton.
| |
RegistrationFormConfig |
This class holds configuration of TLL registration form. See class definition for further details.
| |
RegistrationFormTranslations |
Contains list of string messages being displayed by default registration form you can open by calling ShowRegistrationFormMethod
|
Name | Description | |
---|---|---|
ActivateHWID |
This function automatically tries to activate software by finding matching license by hardware ID
| |
ActivateSerial |
Tries to retrieve license from API based on serial number
| |
ActivateTrial |
This function calls the API and asks for demo license, used to track non-licensed users.
| |
AsyncSendUsageInfo |
Sends the information about application usage to API asynchronously.
| |
AsyncSilentReactivation |
API releases 30 day licenses to customers - they must be reactivated after this period. To prevent license screen shown every month, this method is silently called on full version on app startup to update license from API. This function works with TLL licensing server only.
| |
ComInitializeBytes |
Initializes class with bytes from Init Chunk Generator and password
| |
ComInitializeObj |
Initializes class with TLL Init Chunk object
| |
DeactivateLicense |
Calling this function will deactivate license for computer in API and also it'll locally delete license file
| |
DeleteLicenseInRegistry |
Deletes the current license from registry
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetActualHardwareID |
Return actual hardware ID
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsLicenseValid |
You can call this function to verify user's license stored in registry. When new instance of TLLInterface class is initialized, this function called automatically.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnlineRevocationCheck |
This function tries to contact API and check the revocation state of license.
| |
Register |
This function validates supplied license and when valid, it is stored in registry.
| |
ShowNagScreen |
This method displays nag screen to user. See NagScreenConfig property to customize nag screen.
When 'Continue' clicked, function returns DialogResult.Ignore
When 'Enter license' clicked and valid license activated, dialog is closed and function returns DialogResult.OK
| |
ShowRegistrationForm |
Shows classic windows design registration dialog. This overload is using RegistrationFormConfig object.
| |
ShowRegistrationForm(Form, String, String, Image, Boolean) |
Shows classic windows design registration dialog.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |