DataHandler.DeviceIdentifier
Retrieves a machine-unique board serial number across Windows, Linux, and macOS by executing platform-specific commands.
Detects the current OS and invokes the appropriate system command to fetch the motherboard’s serial number.
Helper that executes a shell command and returns its last non-empty output line.