DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomLicense Class / DeactivateOnline Method
An optional string identifying the PC and or institution at which this copy is being deactivated
A second string with the same function
Example

In This Topic
    DeactivateOnline Method
    In This Topic
    Attempt to Delete all installed Licenses on-line
    Syntax
    'Declaration
     
    
    Public Shared Function DeactivateOnline( _
       ByVal CustomerInfo1 As System.String, _
       ByVal CustomerInfo2 As System.String _
    ) As System.String
    public static System.string DeactivateOnline( 
       System.string CustomerInfo1,
       System.string CustomerInfo2
    )

    Parameters

    CustomerInfo1
    An optional string identifying the PC and or institution at which this copy is being deactivated
    CustomerInfo2
    A second string with the same function
    Remarks
    This method tries to delete all installed licenses on your machine and notify our license server of the deletion.
    Example
    string info_1 = "YOUR_NAME"; // can be anything
    string info_2 = "YOUR_COMPANY"; // can be anything
                        
    DicomLicense.DeactivateOnline(info_1, info_2);
    DicomLicense lic = DicomLicense.CurrentLicense; // Should be null now
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also