DicomObjects.NET.V8
DicomObjects Namespace / DicomLicense Class / ActivateOffLine Method
The string provided by Medical Connections, allowing you to activate DicomObjects
The string obtained from the license server
An "out" parameter, into which an explantion of the result is placed.



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

    Parameters

    AuthorisationString
    The string provided by Medical Connections, allowing you to activate DicomObjects
    LicenseToken
    The string obtained from the license server
    Result
    An "out" parameter, into which an explantion of the result is placed.

    Return Value

    A valid DicomLicense object if the activation succeeded or if already activated using this Authorisation 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 web site http://activation.medicalconnections.co.uk using a separate machine which will return a LicenseToken, which should then be used in this method

    Like the ActivateOnLine method, this method is called internally on request from the LicenseDialog form

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also