nabto_client_connection_get_device_fingerprint_hex()

DEPRECATED

This function is deprecated and should not be used for new implementations. use nabto_client_connection_get_device_fingerprint()

DESCRIPTION

Get a truncated fingerprint a truncated version of nabto_client_connection_get_device_fingerprint()

DECLARATION

NABTO_CLIENT_DECL_PREFIX NabtoClientError NABTO_CLIENT_API
nabto_client_connection_get_device_fingerprint_hex(NabtoClientConnection* connection, char** fingerprintHex)

PARAMETERS

connection:
[in] The connection.
fingerprintHex:
[out] The fingerprint encoded as hex, the fingerprint has to be freed using nabto_client_string_free.

RETURNS

  • NABTO_CLIENT_EC_OK: if the fingerprint was copied to the fingerprint parameter.
  • NABTO_CLIENT_EC_NOT_CONNECTED: if the connection is not established yet.
  • NABTO_CLIENT_EC_STOPPED: if the connection is closed or stopped.
  • NABTO_CLIENT_EC_NONE: if no fingerprint is available.