
# Set on your server/container export GEMBOX_DOCUMENT_LICENSE="A1B2-C3D4-E5F6-G7H8" var key = Environment.GetEnvironmentVariable("GEMBOX_DOCUMENT_LICENSE"); ComponentInfo.SetLicense(key);
// Alternatively, for a Developer License: // ComponentInfo.SetLicense(licenseKey, "Developer"); Gembox.document License Key
// Strategy 1: Environment variable (for cloud) var licenseKey = Environment.GetEnvironmentVariable("DOCUMENT_LICENSE_KEY"); Gembox.document License Key