Click or drag to resize

TLLInterface Class

Contains functions to easily integrate Treek's Licensing Library
Inheritance Hierarchy
SystemObject
  TreeksLicensingLibrary2.EasyIntegrationTLLInterface

Namespace:  TreeksLicensingLibrary2.EasyIntegration
Assembly:  TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.8318.42066 (2.1.0.0)
Syntax
public class TLLInterface

The TLLInterface type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCurrentLicenseFilePath
Public propertyHWID
Contains information about hardware ID of machine where this library is running.
Public propertyInitChunk
Returns actual initchunk object
Public propertyLastVerificationResult
This property holds last license verification result. When license validation fails, this variable will give you more information about why license was denied.
Public propertyLicenseVerificator
Property holding LicenseVerification object for TLLInterface class
Public propertyMyLicense
Returns details of active license.
Public propertyNagScreenConfig
This class holds nag screen configuraton.
Public propertyRegistrationFormConfig
This class holds configuration of TLL registration form. See class definition for further details.
Public propertyRegistrationFormTranslations
Contains list of string messages being displayed by default registration form you can open by calling ShowRegistrationFormMethod
Top
Methods
  NameDescription
Public methodActivateHWID
This function automatically tries to activate software by finding matching license by hardware ID
Public methodActivateSerial
Tries to retrieve license from API based on serial number
Public methodActivateTrial
This function calls the API and asks for demo license, used to track non-licensed users.
Public methodAsyncSendUsageInfo
Sends the information about application usage to API asynchronously.
Public methodAsyncSilentReactivation
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.
Public methodComInitializeBytes
Initializes class with bytes from Init Chunk Generator and password
Public methodComInitializeObj
Initializes class with TLL Init Chunk object
Public methodDeactivateLicense
Calling this function will deactivate license for computer in API and also it'll locally delete license file
Public methodDeleteLicenseInRegistry
Deletes the current license from registry
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetActualHardwareID
Return actual hardware ID
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsLicenseValid
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.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnlineRevocationCheck
This function tries to contact API and check the revocation state of license.
Public methodRegister
This function validates supplied license and when valid, it is stored in registry.
Public methodShowNagScreen
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
Public methodShowRegistrationForm
Shows classic windows design registration dialog. This overload is using RegistrationFormConfig object.
Public methodShowRegistrationForm(Form, String, String, Image, Boolean)
Shows classic windows design registration dialog.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks