def _FindSerialNumber(self):
    for item in self._GetDataTypeItems('hardware'):
      if 'serial_number' in item:
        self._profile['serial_number'] = item['serial_number']
        return
Find system serial number.
dataset/ETHPy150Open google/simian/src/simian/mac/common/hw.py/SystemProfile._FindSerialNumber