FingerLicense.activateSerialKey Method

Module: FingerLicense

Definition

Activates a license using a serial key and saves the license to a file.

@staticmethod
activate_serial_key(hardware_code: str, serial_key: str, commentary: str, path: str) -> None

Parameters

hardware_code str
in The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.

serial_key str
in The serial key to activate.

commentary str
in Commentary associated to this license activation, generally the host name.

path str
in Path to the license file.

Exceptions

An error has occurred during Finger Library execution.
static void activateSerialKey(String? hardwareCode, String? serialKey, String? commentary, String? path)

Parameters

hardwareCode String
in The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.

serialKey String
in The serial key to activate.

commentary String
in Commentary associated to this license activation, generally the host name.

path String
in Path to the license file.

Exceptions

An error has occurred during Finger Library execution.
public static void ActivateSerialKey(string hardwareCode, string serialKey, string commentary, string path)

Parameters

hardwareCode string
in The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.

serialKey string
in The serial key to activate.

commentary string
in Commentary associated to this license activation, generally the host name.

path string
in Path to the license file.

Exceptions

An error has occurred during Finger Library execution.
public static void activateSerialKey(String hardwareCode, String serialKey, String commentary, String path) throws FingerException

Parameters

hardwareCode String
in The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.

serialKey String
in The serial key to activate.

commentary String
in Commentary associated to this license activation, generally the host name.

path String
in Path to the license file.

Exceptions

An error has occurred during Finger Library execution.
public static func activateSerialKey(hardwareCode: String, serialKey: String, commentary: String, path: String) throws

Parameters

hardwareCode String
in The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.

serialKey String
in The serial key to activate.

commentary String
in Commentary associated to this license activation, generally the host name.

path String
in Path to the license file.

Exceptions

An error has occurred during Finger Library execution.
int id3FingerLicense_ActivateSerialKey (
    const char * hardwareCode,
    const char * serialKey,
    const char * commentary,
    const char * path)

Parameters

hardwareCode const char *
in The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.

serialKey const char *
in The serial key to activate.

commentary const char *
in Commentary associated to this license activation, generally the host name.

path const char *
in Path to the license file.

Returns

int
An error code.
See id3FingerError file for the list of possible error codes.