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

In This Topic
    Deactivate Method
    In This Topic
    Attempt to delete the 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 Function Deactivate( _
       ByVal deactivationInfo1 As System.String, _
       ByVal deactivationInfo2 As System.String _
    ) As System.String
    public System.string Deactivate( 
       System.string deactivationInfo1,
       System.string deactivationInfo2
    )

    Parameters

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

    Return Value

    A status message indicating the result of the deactivation process.
    Remarks

    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: .NET CLR 4.8 or higher

    See Also