Java
Chilkat2 Java
Get Version of Chilkat
Demonstrate how to find out the version of Chilkat at runtime.Chilkat Java Downloads
import com.chilkatsoft.chilkat2.JsonObject;
import com.chilkatsoft.chilkat2.SFtp;
public class ChilkatExample {
public static void main(String[] args) {
// 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:
SFtp sftp = new SFtp();
String chilkatVersion = sftp.getVersion();
System.out.println(chilkatVersion);
// Most other Chilkat classes also have the Version property
// For example:
JsonObject json = new JsonObject();
System.out.println(json.getVersion());
}
}