Activating licences

Both online and offline licence activation can be done using different methods as shown below:

  1. Programmatically - you could do something like this from your code and avoid the license dialog pop up:

.NET (C# code snippet)


string result;
DicomLicense.ActivateOnLine("Your Licence key", "Company Name", "Other Activation details", out result);

Reactivation - DicomLicense.ReactivateOnLine("Your Licence key", "Original licence details", "Company Name", "Other Activation details", out result);

  OR

DicomLicense.ActivateOffLine("Your Licence key", "Token obtained online", out result);

Reactivation - same as above

 

 

COM (VB6 code snippet)


Dim dlg As New DicomLicenseGlobal
Dim dl As DicomLicense
Set dl = dlg.ActivateOnLine("Your Licence key", "Company Name", "Other Activation details")

Reactivation - dlg.ReActivateOnLine("Your Licence key", "Original licence details", "Company Name", "Other Activation details")

  OR

Set dl = dlg.ActivateOffLine("Your Licence key", "Token obtained online")

Reactivation - same as above

 

 

XDS (C# code snippet)


string result;
XdsLicense.ActivateOnLine("Your Licence key", "Company Name", "Other Activation details", out result);

  OR

XdsLicense.ActivateOffLine("Your Licence key", "Token obtained online", out result);

 

 

  1. Alternatively, use our Licence manager  tool - you could download our licence manager sample project from the examples page and choose the appropriate activation method (online or offline).  This is simply a GUI that runs the above commands:

Reactivation - check the Reinstall box and put in your original licence details.

 

  1. For generating an offline licence token using your licence key, please visit this link from an Internet accessible device - http://activation.medicalconnections.co.uk
    Instructions to follow :
  1. Choose the correct product from the dropdown list for activation.
  2. Copy over the machine ID you had obtained earlier from the Licence dialog box (offline tab).
  3. Enter your licence key in the Authorization String box.
  4. Customer info 1&2 [details about this activation].
  5. Hit Submit to generate the Licence Token.
  6. Copy over this generated token to the Licence dialog box.

For reactivation - check the Reinstall box and put in your original licence details.

 

  • If your current licence has expired, whether a Developer or any trial licence, deleting those licences or clearing all licences from your system and following the above steps would ensure that those expired licences are cleared out and a new valid licence has been activated.  Instructions on how to delete licences can be found here - http://www.medicalconnections.co.uk/kb/Deleting_licences
    A standard developer licence is valid for 2 years and a standard trial key for 60 days since the date of the activation.
  • Customizing the standard DicomObjects license activation dialog is made possible. Please download our example "LicenseDialogCustomization" and see how it can be done.


For other special licencing methods you may want to check these links:

 

 

If you have any problems with your activation, please email us the details at  support@medicalconnections.co.uk

 

 

 

Relevance: