BoxlangLicenseInfo

Retrieves the current BoxLang license status and information. This function returns details about the active license, including validity status, trial mode information, and license attributes.

Method Signature

BoxlangLicenseInfo()

Arguments

No arguments.

Return Value

Returns a STRUCT with the following keys:

  • isValidLicense (BOOLEAN) - Whether a valid license is currently active

  • isTrialMode (BOOLEAN) - Whether the system is running in 60-day trial mode

  • email (STRING) - Email address associated with the license (if activated)

  • serverType (STRING) - Server environment type: Production, Staging, or Development

  • expirationDate (STRING) - License expiration date in ISO format (if available)

  • licenseType (STRING) - Type of license: BoxLang+ or BoxLang++

  • message (STRING) - Status message describing the current license state

Examples

Template Syntax

Script Syntax

Conditional Logic Example

Last updated

Was this helpful?