Registration Functions

<< Click to Display Table of Contents >>

Navigation:  WinLicense > WinLicense SDK >

Registration Functions

The following functions can be used to handle the registration information in an application.

 

Function

Description

WLRegActivateSoftware

Performs activation of an application from a given activation key.

WLRegCheckMachineLocked

Determines if the current license is locked to a specific machine.

WLRegDateDaysLeft

Retrieves the number of days left in the current license when the license has Date Expiration.

WLRegDaysLeft

Retrieves the number of days left in the current license key.

WLRegDeactivateSoftware

Performs deactivation of an application from a given activation key.

WLRegDisableCurrentKey

Marks the current license key as stolen or invalid.

WLRegDisableKeyCurrentInstance

Disables the current installed key for the specific application which calls the function.

WLRegExecutionsLeft

Retrieves the number of executions left in the current license key.

WLRegExpirationDate

Retrieves the expiration date in a license key.

WLRegExpirationTimestamp

Retrieves the exact expiration timestamp for a license key with days expiration.

WLRegFirstRun

Determines if an application is just registered with a valid license key.

WLRegGetDynSmartKey

Retrieves the Dynamic SmartActivate key that was inserted to register an application.

WLRegGetLicenseHardwareID

Retrieves the hardware ID in the current license key.

WLRegGetLicenseInfo

Retrieves the registration information for the current license.

WLRegGetLicenseInfoW

Retrieves the registration information (in UNICODE) for the current license.

WLRegGetLicenseRestrictions

Retrieves the restrictions included in the current license.

WLRegGetStatus

Retrieves information about the licensing status in the current application.

WLRegGlobalTimeLeft

Retrieves the number of minutes left  in the current license key.

WLRegInstallBeforeDate

Retrieves the date that was set in the license field "Install Before Date"

WLRegLicenseCreationDate

Retrieves the creation date in a license key.

WLRegLicenseName

Retrieves the license file and registry names for the expected registration license.

WLRegLockedCountry

Retrieves the country code in the current license key.

WLRegNetInstancesGet

Retrieves the current number of instances running in a network.

WLRegNetInstancesGetClientsIp

Retrieves the IP addresses of all running clients.

WLRegNetInstancesMax

Retrieves the maximum number of instances allowed in the current license.

WLRegNormalKeyCheck

Validates a text key.

WLRegNormalKeyCheckW

Validates a text key (UNICODE).

WLRegNormalKeyInstallToFile

Installs a license text key into a file.

WLRegNormalKeyInstallToFileW

Installs a license text key into a file (UNICODE).

WLRegNormalKeyInstallToRegistry

Installs a license text key into a Windows registry key.

WLRegNormalKeyInstallToRegistryW

Installs a license text key into a Windows registry key (UNICODE).

WLRegRemoveCurrentKey

Removes the current license key from the system.

WLRegRuntimeLeft

Retrieves the runtime left  that a registered application can be running in memory.

WLRegSmartKeyCheck

Validates a SmartActivate® key.

WLRegSmartKeyCheckW

Validates a SmartActivate® key (UNICODE).

WLRegSmartKeyInstallToFile

Installs a SmartActivate® key into a file.

WLRegSmartKeyInstallToFileW

Installs a SmartActivate® key into a file (UNICODE).

WLRegSmartKeyInstallToFileInFolder

Installs a SmartActivate® key into a file in a specific folder.

WLRegSmartKeyInstallToFileInFolderW

Installs a SmartActivate® key into a file in a specific folder (UNICODE).

WLRegSmartKeyInstallToRegistry

Installs a SmartActivate® key into a Windows registry key.

WLRegSmartKeyInstallToRegistryW

Installs a SmartActivate® key into a Windows registry key (UNICODE).

WLRegTotalDays

Retrieves the total number of days in the current license key.

WLRegTotalExecutions

Retrieves the total number of executions in the current license key.