Display License Info - VBScript and VB6
PDF Renderer SDK sample in VBScript and VB6 demonstrating ‘Display License Info’
DisplayLicenseInfo.vbs
' Create Bytescout.PDFRenderer.RasterRenderer object
Set renderer = CreateObject("Bytescout.PDFRenderer.RasterRenderer")
renderer.RegistrationName = "demo"
renderer.RegistrationKey = "demo"
' Set license Info
Set licenseInfo = renderer.LicenseInfo
outputMsg = "===============================" + vbCRLF
outputMsg = outputMsg + "======== License Info =========" + vbCRLF
outputMsg = outputMsg + "===============================" + vbCRLF
outputMsg = outputMsg + "License type: " & licenseInfo.LicenseType & vbCRLF
outputMsg = outputMsg + "License limit type: " & licenseInfo.LimitType & vbCRLF
outputMsg = outputMsg + "Limit of license units: " & licenseInfo.Limit & vbCRLF
outputMsg = outputMsg + "License limit term: " & licenseInfo.LimitTerm & vbCRLF
outputMsg = outputMsg + "No of remaining license units: " & licenseInfo.Remainder & vbCRLF
outputMsg = outputMsg + "Update expires On: " & licenseInfo.UpdatesExpireOn & vbCRLF
outputMsg = outputMsg + "===============================" + vbCRLF
MsgBox outputMsg
Set renderer = Nothing