<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@digitalpersona/devices](./devices.md) &gt; [CardsReader](./devices.cardsreader.md) &gt; [getCardInfo](./devices.cardsreader.getcardinfo.md)

## CardsReader.getCardInfo() method

Reads card data from a specific card.

<b>Signature:</b>

```typescript
getCardInfo(reader: string): Promise<Card | null>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  reader | <code>string</code> | a name of a card reader where the card was presented. |

<b>Returns:</b>

`Promise<Card | null>`

a promise to return a card information. The promise can be fulfilled but return `null` if the card has no information. The promise will be rejected if a card is not found or in case of a reading error.

