DicomObjects.NetStandard Documentation
DicomObjects Namespace / DicomLicence Class / ActivateConcurrent Method
The key provided by Medical Connections in the format 'CON-1111-2222-3333', allowing you to activate DicomObjects for specific functions
An optional string identifying this system and/or the institution at which this copy is being activated. This optional parameter can be empty
Another optional string with the same type of information as 'activationInfo1'/>
An out parameter, into which an explanation of the result is placed.



In This Topic
    ActivateConcurrent Method
    In This Topic
    Attempt to obtain a concurrent, time-limited DicomObjects licence online
    Syntax
    'Declaration
     
    
    Public Shared Function ActivateConcurrent( _
       ByVal licenceKey As String, _
       ByVal activationInfo1 As String, _
       ByVal activationInfo2 As String, _
       ByRef result As String _
    ) As DicomLicence
    'Usage
     
    
    Dim licenceKey As String
    Dim activationInfo1 As String
    Dim activationInfo2 As String
    Dim result As String
    Dim value As DicomLicence
     
    value = DicomLicence.ActivateConcurrent(licenceKey, activationInfo1, activationInfo2, result)

    Parameters

    licenceKey
    The key provided by Medical Connections in the format 'CON-1111-2222-3333', allowing you to activate DicomObjects for specific functions
    activationInfo1
    An optional string identifying this system and/or the institution at which this copy is being activated. This optional parameter can be empty
    activationInfo2
    Another optional string with the same type of information as 'activationInfo1'/>
    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 Licence string.

    null if the activation failed.

    Remarks

    This is the main method used to activate a concurrent DicomObjects Licence, and is used both explicitly by users and internally when requested. For more information please visit this webpage - https://www.medicalconnections.co.uk/kb/Concurrent-Licensing/

    The result indicates whether the method succeeded, and further information (whether successful or not) is available in the Result parameter

    If a Licence has previously been activated on the same machine, using the same Licence string, then the method returns the existing licence, but the fact is noted in the Result

    The Licence server to be contacted is specified by LicenceServer, but this should not normally be changed.

    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