<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@digitalpersona/devices](./devices.md) &gt; [FingerprintReader](./devices.fingerprintreader.md) &gt; [getDeviceInfo](./devices.fingerprintreader.getdeviceinfo.md)

## FingerprintReader.getDeviceInfo() method

Reads a fingerprint reader device information.

<b>Signature:</b>

```typescript
getDeviceInfo(deviceUid: string): Promise<DeviceInfo | null>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  deviceUid | <code>string</code> | a fingerprint reader ID. |

<b>Returns:</b>

`Promise<DeviceInfo | null>`

a promise to return a device information. The promise can be fulfilled but return `null` if the reader provides no information. The promise will be rejected if a reader is not found or in case of a reading error.

