This version of Unity is unsupported.

InputDevice.name

public string name;

Description

Read Only. The name of the device in the XR system. This is a platform provided unique identifier for the device.