Sample code for 30+ languages & platforms
Objective-C

Get Version of Chilkat

Demonstrate how to find out the version of Chilkat at runtime.

Chilkat Objective-C Downloads

Objective-C
#import <CkoSFtp.h>
#import <NSString.h>
#import <CkoJsonObject.h>

//  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:
CkoSFtp *sftp = [[CkoSFtp alloc] init];
NSString *chilkatVersion = sftp.Version;
NSLog(@"%@",chilkatVersion);

//  Most other Chilkat classes also have the Version property
//  For example:
CkoJsonObject *json = [[CkoJsonObject alloc] init];
NSLog(@"%@",json.Version);