sc_get_smart_card_id()

Retrieve an identifier that uniquely identifies the currently connected smart card.

Synopsis:

#include <smartcard/sc_smart_card.h>
 
sc_response_code_t sc_get_smart_card_id(sc_context_t *context,                 
                                        sc_smart_card_id_t *smart_card_id)

Since:

BlackBerry 10.2.0

Arguments:

context

The active smart card context. This value cannot be NULL.

smart_card_id

The smart card ID instance used to store the requested identifier. This value cannot be NULL.

Library:

libscs (For the qcc command, use the -l scs option to link against this library)

Description:

If no connection is currently open, an error is returned.

Returns:

SC_SCARD_S_SUCCESS upon success, an error code otherwise. See sc_response_code_t for defined error codes.