Sample code for 30+ languages & platforms
JavaScript

Get Version of Chilkat

Demonstrate how to find out the version of Chilkat at runtime.
Note
This example is intended for running within a Chilkat.Js embedded JavaScript engine. All Chilkat JavaScript examples require Chilkat v11.4.0 or greater.
JavaScript
// 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:
var sftp = new CkSFtp();
var chilkatVersion = sftp.Version;
console.log(chilkatVersion);

// Most other Chilkat classes also have the Version property
// For example:
var json = new CkJsonObject();
console.log(json.Version);