Activate license
After purchasing the product, you will receive a license key.
There are four ways to activate (unlock) the component using this license key:
1. Directly from your program code
You can unlock the component by using the LicenseKey property.
This way, the license is NOT stored in the registry of the computer.
This is the recommended way when distributing this component with your own software.
2. Store the license key in the registry – Manually
You can enter the license key manually (e.g. through REGEDIT.EXE) in following registry key:
‘HKEY_LOCAL_MACHINE\Software\Auron\SMS Component\LicenseKey’
Once the license key is stored in the registry, the LicenseKey property will be assigned automatically with that value each time the object is instantiated.
3. Store the license key in the registry – SaveLicenseKey method
You can enter the license key by calling the SaveLicenseKey method.
You need to call SaveLicenseKey only once.
Set objGsm = CreateObject("AxSms.Gsm") ' Create new instance
objGsm.LicenseKey = "XXXXX-XXXXX-XXXXX" ' Replace XXXXX-XXXXX-XXXXX by your own key
objGsm.SaveLicenseKey
Once the license key is stored in the registry, the LicenseKey property will be assigned automatically with that value each time the object is instantiated.