Sample code for 30+ languages & platforms
C++

Get Version of Chilkat

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

Chilkat C++ Downloads

C++
#include <CkSFtp.h>
#include <CkJsonObject.h>

void ChilkatSample(void)
    {
    //  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:
    CkSFtp sftp;
    const char *chilkatVersion = sftp.version();
    std::cout << chilkatVersion << "\r\n";

    //  Most other Chilkat classes also have the Version property
    //  For example:
    CkJsonObject json;
    std::cout << json.version() << "\r\n";
    }