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



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

Parameters

AuthorisationString
The string provided by Medical Connections, allowing you to activate XdsObjects
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 XdsLicense 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: 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