A platform function LicenseInfo is available which accepts a parameter to determine the Type of License details required and returns the value accordingly. For e.g., $$LicenseInfo:SerialNumber returns the Serial Number of the running copy of Tally. Find the list of parameters allowed for Function LicenseInfo in the attachment