DicomObjects.NET Core Documentation
DicomObjects Namespace / DicomLicence Class / Deactivate Method
An optional string identifying this system and/or the institution at which this copy is being deactivated. This optional parameter can be empty
Another optional string with the same type of information as 'deactivationInfo1'/>



Deactivate Method
Attempt to delete installed licence from your machine and notify our licence servers of the deletion

No exception is thrown if licence server cannot be notified, it only deletes locally

Syntax
'Declaration
 
Public Sub Deactivate( _
   ByVal deactivationInfo1 As String, _
   ByVal deactivationInfo2 As String _
) 
 
'Usage
 
Dim instance As DicomLicence
Dim deactivationInfo1 As String
Dim deactivationInfo2 As String
 
instance.Deactivate(deactivationInfo1, deactivationInfo2)

Parameters

deactivationInfo1
An optional string identifying this system and/or the institution at which this copy is being deactivated. This optional parameter can be empty
deactivationInfo2
Another optional string with the same type of information as 'deactivationInfo1'/>
Remarks

If the licence being removed is set as the CurrentLicence, the next BestLicence will be set as the CurrentLicence.

This method may be useful to remove trial Licences etc., but should be used with care on end-user machine just in case there are licences installed by other vendors, which should not be deleted

Depending on the version of windows, and the permissions of the user, it is possible that the Licence may be removed, especially if it was installed by an administrator, but this method is invoked by a less privileged user.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also