'Declaration
Public Shared Function ActivateSigned( _ ByVal licenceKey As String, _ ByVal activationInfo1 As String, _ ByVal activationInfo2 As String, _ ByRef result As String, _ Optional ByVal expiryDate As Date _ ) As DicomLicence
'Usage
Dim licenceKey As String Dim activationInfo1 As String Dim activationInfo2 As String Dim result As String Dim expiryDate As Date Dim value As DicomLicence value = DicomLicence.ActivateSigned(licenceKey, activationInfo1, activationInfo2, result, expiryDate)
public static DicomLicence ActivateSigned( string licenceKey, string activationInfo1, string activationInfo2, out string result, DateTime expiryDate )
public: static DicomLicence^ ActivateSigned( String^ licenceKey, String^ activationInfo1, String^ activationInfo2, [Out] String^ result, DateTime expiryDate )
Parameters
- licenceKey
- The key provided by Medical Connections in the format 'SK-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. - expiryDate
- Optional expiryDate date for the licence to be generated. Default is controlled by the licence key itself
Return Value
A valid DicomLicence object if the activation succeeded or if already activated using Licence string
null if the activation failed.