DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomLicense Class / Delete Method
Example

In This Topic
    Delete Method
    In This Topic
    Delete a specific DicomObjects license on a machine.
    Syntax
    'Declaration
     
    
    Public Sub Delete() 
    public void Delete()
    Remarks

    This method may be useful to remove trial licenses etc., but should be used with care on an end-user machine just in case there are licenses 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 license may be removed, especially if it was installed by an administrator, but this method is invoked by a less privileged user.

    Example
    DicomLicense lic = DicomLicense.CurrentLicense;
    lic.Delete();
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also