DicomObjects.NET.8.48 Documentation
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 System.String, _
       ByVal LicenseToken As System.String, _
       ByRef Result As System.String _
    ) As DicomLicense
    'Usage
     
    
    Dim AuthorisationString As System.String
    Dim LicenseToken As System.String
    Dim Result As System.String
    Dim value As DicomLicense
     
    value = DicomLicense.ActivateOffLine(AuthorisationString, LicenseToken, Result)
    public static DicomLicense ActivateOffLine( 
       System.string AuthorisationString,
       System.string LicenseToken,
       out System.string Result
    )
    public function ActivateOffLine( 
        AuthorisationString: System.String;
        LicenseToken: System.String;
       Out  Result: System.String
    ): DicomLicense; static; 
    public static function ActivateOffLine( 
       AuthorisationString : System.String,
       LicenseToken : System.String,
       Result : System.String
    ) : DicomLicense;
    public: static DicomLicense* ActivateOffLine( 
       System.string* AuthorisationString,
       System.string* LicenseToken,
       [PARAMFLAG::Out] System.string* Result
    ) 
    public:
    static DicomLicense^ ActivateOffLine( 
       System.String^ AuthorisationString,
       System.String^ LicenseToken,
       [Out] System.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.8 or higher

    See Also