Lua
Lua
Get Version of Chilkat
Demonstrate how to find out the version of Chilkat at runtime.Chilkat Lua Downloads
local chilkat = require("chilkat")
-- Most Chilkat classes include a Version property.
-- To find the version of Chilkat, such as "9.5.0.94",
-- instantiate the object and examine the Version property.
-- For example:
local sftp = chilkat.SFtp.new()
local chilkatVersion = sftp.version
print(chilkatVersion)
-- Most other Chilkat classes also have the Version property
-- For example:
local json = chilkat.JsonObject.new()
print(json.version)