@digitalpersona/devices
Version:
DigitalPersona Security Devices support library
27 lines (15 loc) • 664 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@digitalpersona/devices](./devices.md) > [CardsReader](./devices.cardsreader.md) > [getCardUid](./devices.cardsreader.getcarduid.md)
## CardsReader.getCardUid() method
Reads a card unique identifier.
<b>Signature:</b>
```typescript
getCardUid(reader: string): Promise<string>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| reader | <code>string</code> | a name of a card reader where the card was presented. |
<b>Returns:</b>
`Promise<string>`
a promise to return a card identifier.