Deactivating Licences
Installed licences can be deleted in different ways as described in the following steps:
Programmatically
You could do something like this from your code:
DicomObjects .NET (C#)
Deactivate a single licence:
DicomLicense l = DicomLicense.CurrentLicense;
l.Deactivate(CustomerInfo1, CustomerInfo2);
Deactivate all licences:
DicomLicense.DeactivateOnline(CustomerInfo1, CustomerInfo2);
DicomObjects .NET Core and Later (.NET Core, .NET 8, .NET Standard) (C#)
Deactivate a single licence:
DicomLicence l = DicomLicence.CurrentLicence;
l.Deactivate(CustomerInfo1, CustomerInfo2);
Deactivate all licences:
DicomLicence.DeactivateAll(CustomerInfo1, CustomerInfo2);
DicomObjects.COM (VB6)
Deactivate a single licence:
Dim dlg As New DicomLicenseGlobal
Dim currentLic As DicomLicense
Set currentLic = dlg.CurrentLicense
currentLic.Deactivate(CustomerInfo1, CustomerInfo2)
Deactivate all licences
Dim dlg As New DicomLicenseGlobal
dlg.DeactivateOnline(CustomerInfo1, CustomerInfo2)
XdsObjects.NET (C#)
Deactivate all licenses
XdsLicense.DeactivateOnline(CustomerInfo1, CustomerInfo2)
CustomerInfo1 & CustomerInfo2 are useful fields which are passed to our accounts department to inform them of which machine has been deactivated.
Use our Licence manager tool
You could download the sample project from our examples page, the Licence Manager project is a simple GUI that runs the above commands:
- .NET Licence Manager
- .NET Core Licence Manager
- .NET 8 Licence Manager
- .NET Standard 2.0 Licence Manager
- COM Licence Manager
- XDS Licence Manager
Instructions on licence activation can be found here:
If you have any problems deleting licences, please email us at support@medicalconnections.co.uk