License Activation

KlvInjector SDK will work without a license in demo mode. In order to lift demo restrictions, the instance must be activated by calling Activate method:
Product activation is a license validation procedure.


 string licPath = @"C:\KlvInjector.lic";
 string license;
 string licenseError;

// Activate the KLV injector. Please contact ImpleoTV to get your license 
if (m_KlvInjector.Activate(licPath, out license, out licenseError))
{
    JObject lic = JObject.Parse(license);
    Console.WriteLine($"License is valid. {(string)lic["product"]["name"]} licensed to {(string)lic["user"]["name"]}");
}
else
    ReportError($"License not valid. {licenseError}. Demo mode.");

For legacy licenses (license file + key):


 string licPath = @"C:\KlvInjector.lic";
 string licKey = "F13455B6-4572E03B-5B1E2AF7-0F330659";

// Activate the KLV injector. Please contact ImpleoTV to get your license and a key
if (m_KlvInjector.Activate("KlvInjectorSdk", licPath, licKey) == false)            
    ReportError("License not valid. Demo mode");

Please contact ImpleoTV sales in order to get a license. A license file or a license file along with the activation key, for legacy versions, is delivered via an email attachment from the ImpleoTV Administration Center.