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 Status Comment
WebUSB
The definition of 'serialNumber' in that specification.
Draft Initial definition.

Browser compatibility

BCD tables only load in the browser