(self)
return self._serial_number
Return the USB device's serial number string descriptor.

        This property will cause some USB traffic the first time it is accessed
        and cache the resulting value for future use.
Return the USB device's serial number string descriptor.
Return the USB device s serial number string descriptor .
def serial_number(self):
        """ Return the USB device's serial number string descriptor.

        This property will cause some USB traffic the first time it is accessed
        and cache the resulting value for future use.
        """
        if self._serial_number is None:
            self._serial_number = util.get_string(self, self.iSerialNumber)
        return self._serial_number
def serial_number ( self ) : if self . _serial_number is None : self . _serial_number = util . get_string ( self , self . iSerialNumber ) return self . _serial_number