DocumentLicense.getApplicationHardwareCode Method¶
Module: DocumentLicense
Definition¶
Build an application hardware code.
@staticmethod
get_application_hardware_code(application_name: str, certificate: str) -> str
Parameters
application_name
strin The application name.certificate
strin The certificate.
Returns
str
The application hardware code.
Exceptions
An error has occurred during Document Library execution.
static String getApplicationHardwareCode(String? applicationName, String? certificate)
Parameters
applicationName
Stringin The application name.certificate
Stringin The certificate.
Returns
String
The application hardware code.
Exceptions
An error has occurred during Document Library execution.
public static string GetApplicationHardwareCode(string applicationName, string certificate)
Parameters
applicationName
stringin The application name.certificate
stringin The certificate.
Returns
string
The application hardware code.
Exceptions
An error has occurred during Document Library execution.
public static String getApplicationHardwareCode(String applicationName, String certificate) throws DocumentException
Parameters
applicationName
Stringin The application name.certificate
Stringin The certificate.
Returns
String
The application hardware code.
Exceptions
An error has occurred during Document Library execution.
public static func getApplicationHardwareCode(applicationName: String, certificate: String) throws -> String
Parameters
applicationName
Stringin The application name.certificate
Stringin The certificate.
Returns
String
The application hardware code.
Exceptions
An error has occurred during Document Library execution.
int id3DocumentLicense_GetApplicationHardwareCode (
const char * applicationName,
const char * certificate,
char * code,
int * codeSize)
Parameters
applicationName
const char *in The application name.certificate
const char *in The certificate.code
char *out The application hardware code.codeSize
int *in Size of the ‘code’ buffer. Receives the minimum required buffer size to hold the ‘code’ string if the given one is too small (including the terminating NULL character), otherwise receives the number of characters in ‘code’ (excluding terminating NULL character).
Returns