@digitalpersona/devices
Version:
DigitalPersona Security Devices support library
27 lines (15 loc) • 888 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@digitalpersona/devices](./devices.md) > [FingerprintReader](./devices.fingerprintreader.md) > [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.