To use the library, you must call the UnlockBundle method (or specific component unlock method) at the start of your application before using any other Chilkat functionality.
C# (.NET) Example:
Chilkat.Global glob = new Chilkat.Global();
bool success = glob.UnlockBundle("Your-License-Key-Here");
if (success != true)
Console.WriteLine("Failed to unlock: " + glob.LastErrorText);
return;
Console.WriteLine("Unlock successful.");
Python Example:
import sys import chilkatglob = chilkat.CkGlobal() success = glob.UnlockBundle("Your-License-Key-Here") if (success != True): print(glob.lastErrorText()) sys.exit() chilkat license key
print("Unlock successful.")
C++ Example:
CkGlobal glob;
bool success = glob.UnlockBundle("Your-License-Key-Here");
if (!success)
std::cout << glob.lastErrorText() << "\r\n";
return;
std::cout << "Unlock successful." << "\r\n";
using Chilkat;
// Initialize any Chilkat object (e.g., Http, MailMan, Ssh) Chilkat.Global glob = new Chilkat.Global(); bool success = glob.UnlockBundle("CHILKAT-LICENSE-XXXXX-YYYYY-ZZZZZ"); if (!success) Console.WriteLine("License unlock failed: " + glob.LastErrorText); return; Console.WriteLine("License successfully unlocked.");
Chilkat is a commercial software library providing cross-platform functionality for: Chilkat License Key — A Focused Monograph 3
Chilkat operates on a per-developer or per-server licensing model. A single license key is required for each deployed application instance (server) or for each developer compiling the library into an application.
The license key is applied programmatically. You do not need to configure registry keys or external files.
UnlockComponent Method:
Every Chilkat object (such as Chilkat.Http, Chilkat.Ftp2, etc.) typically has an UnlockComponent method (or similar, depending on the language).
UnlockComponent once when your application starts. Calling it repeatedly has no negative effect but is unnecessary.Chilkat.Global glob = new Chilkat.Global();
bool success = glob.UnlockBundle("Your-License-Key-Here");
if (success != true)
Console.WriteLine("Failed to unlock: " + glob.LastErrorText);
return;
LastErrorText property will provide a detailed reason why the unlock failed.Cause: Chilkat licenses come with 1 year of free updates. After one year, your key still works with the version you downloaded during the maintenance period, but it will not unlock newer versions. Python Example: import sys import chilkat glob =
Fix: Either:
The features unlocked depend on the specific key purchased.