SLPS Developer Discussion Developer level questions on Code Protection, Licensing, customisation APIs etc
Subscribe to post
User avatar
alexandrv - (10/5/2017 11:44:25 AM)
Silent license activation


Is there a way to activate license silently without any user interaction?

We need to support silent installation mode for the product, license activation is a part of installation. Now we run the activation wizard programmatically using the following code:


using (SLMRuntime slm = OpenSLMRuntimeSession())
    using (IActivationWizard dlg = CreateActivationDialog(slm))
        result = (dlg.InstalledLicense != null);

Is it possible to avoid showing this dialog to user and specify either license key or license file to activate license silently? Thanks.

There are currently no users on-line.

  • Sticky
  • Locked sticky
  • Hot sticky
  • Hot locked sticky
  • Thread
  • Hot thread
  • Locked thread