DicomObjects.NetStandard Documentation
DicomObjects Namespace / DicomLicence Class / ActivateOffLine Method
The key provided by Medical Connections in the format 'XYZ-1111-2222-3333', allowing you to activate DicomObjects for specific functions
The string obtained from the licence server activation webpage, using your licence key, in the format '12AB-34CD-56EF-78GH-90XY'
An out parameter, into which an explanation of the result is placed.



In This Topic
    ActivateOffLine Method
    In This Topic
    Activate using an LicenceToken obtained off-line
    Syntax
    'Declaration
     
    
    Public Shared Function ActivateOffLine( _
       ByVal licenceKey As String, _
       ByVal licenceToken As String, _
       ByRef result As String _
    ) As DicomLicence
    'Usage
     
    
    Dim licenceKey As String
    Dim licenceToken As String
    Dim result As String
    Dim value As DicomLicence
     
    value = DicomLicence.ActivateOffLine(licenceKey, licenceToken, result)
    public static DicomLicence ActivateOffLine( 
       string licenceKey,
       string licenceToken,
       out string result
    )
    public:
    static DicomLicence^ ActivateOffLine( 
       String^ licenceKey,
       String^ licenceToken,
       [Out] String^ result
    ) 

    Parameters

    licenceKey
    The key provided by Medical Connections in the format 'XYZ-1111-2222-3333', allowing you to activate DicomObjects for specific functions
    licenceToken
    The string obtained from the licence server activation webpage, using your licence key, in the format '12AB-34CD-56EF-78GH-90XY'
    result
    An out parameter, into which an explanation of the result is placed.

    Return Value

    A valid DicomLicence object if the activation succeeded or if already activated using this Licence string.

    null if the activation failed

    Remarks

    This method may be used where the machine being activated does not have a direct internet connection. The same information as would be used by ActivateOnLine is entered into the website http://activation.medicalconnections.co.uk using a separate machine which will return a 'licenceToken', which should then be used in this method

    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