nabto_device_connection_get_client_fingerprint()

DESCRIPTION

Get the fingerprint of the client assosiated with a given connection. Free fp with nabto_device_string_free().

DECLARATION

NABTO_DEVICE_DECL_PREFIX NabtoDeviceError NABTO_DEVICE_API
nabto_device_connection_get_client_fingerprint(NabtoDevice* device,
                                               NabtoDeviceConnectionRef ref,
                                               char** fp)

PARAMETERS

device:
[in] The device
ref:
[in] The connection reference for which to get finterprint
fp:
[out] Where to put the fingerprint.

RETURNS

NABTO_DEVICE_EC_OK on success