USBDevice.serialNumber

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The serialNumber read only property of the USBDevice interface is the manufacturer-defined serial number for the specific USB device.

Syntax

var serialNumber = USBDevice.serialNumber

Value

The serial number for the specified USB device

Specifications

Specification
WebUSB API
# ref-for-dom-usbdevice-serialnumber

Browser compatibility

BCD tables only load in the browser