Generating Device Fingerprint
The Zentitle2Core Library offers the option to generate a device fingerprint based on a variety of hardware identifiers. To assist with this process, this page provides detailed instructions on how to use the library functions and outlines the available options for generating device fingerprints.
Constants for Fingerprint Options
The library provides predefined values that can be used to specify various options for generating fingerprints. These values are known as constants. We offer two options for generating a device fingerprint.
FINGERPRINT_OPTION_DEFAULT(Value: 1) - This option generates the device fingerprint using default settings.FINGERPRINT_OPTION_MAC_ADDRESS(Value: 2) - This option generates the device fingerprint using default settings and includes the MAC address.
Function: generateDeviceFingerprint
generateDeviceFingerprintThis function generates a device fingerprint using a combination of hardware identifiers. You can specify additional hardware identifiers to be included in the fingerprint generation process using a parameter.
Parameters
fingerprint(Output): A character array where the generated device fingerprint will be stored.options(Input, Optional): Specifies the additional hardware identifiers to be used in generating the fingerprint. It can be one of the following values:FINGERPRINT_OPTION_DEFAULT: Use precompiled options.FINGERPRINT_OPTION_MAC_ADDRESS: Use defaults and MAC address.
Return Value
trueif the device fingerprint was generated successfully.falseotherwise.
Function: generateDefaultDeviceFingerprint
generateDefaultDeviceFingerprintThis function generates a device fingerprint using default settings.
Parameters
fingerprint(Output): A character array where the generated device fingerprint will be stored. The maximum length of the device fingerprint is 100 characters.
Return Value
trueif the device fingerprint was generated successfully.falseotherwise.
This customization option can streamline the process of generating device fingerprints with the desired configuration.
Additionally, the library can be generated under a different name specified by the client to keep its purpose hidden.
Last updated
Was this helpful?