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

In This Topic
    Revoke Method
    In This Topic
    Revokes all temporary and permanent licenses
    Syntax
    'Declaration
     
    
    Public Function Revoke() As System.Byte()
    public System.byte[] Revoke()

    Return Value

    A byte array containing a token which may be used to "prove" that revokation has occured
    Remarks

    This method is only available in special builds of DicomObjects which include the temporary licensing facility

    This method can only be called when a valid temporary license is active.

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

    Target Platforms: .NET CLR 4.8 or higher

    See Also