GetLicenseValueByName
This method returns the license counter information for any given item in the license file.
Syntax
GetLicenseValueByName(PropertyName as String, Value as Variant)
Parameter | Description |
---|---|
PropertyName | Property name on which to retrieve values. Various options can be found in the license file. The property name must match the property name in the license file. |
Value | The returned value of the property. The data type varies depending on the item being returned.` |
Sample Code
The following sample code returns the Email Importing flag in the license file.
Dim theLicensingInterface as SCBCdrPROJLib.SCBCdrLicenseInfoAccess
Dim theObject as Object
Dim vValue1 as Variant
Dim LicInfoMsg as String
Set theObject = Project
Set theLicensingInterface = theObject
theLicensingInterface.GetLicenseValueByName("Serial", vValue1)
LicInfoMsg = "Primary Dongle Serial Number - " & CStr(vValue1)
MsgBox(LicInfoMsg, vbOkOnly,"Get License Value By Name")