code: def offset(self):
      
      if not self._registry_key and self._registry:
        self._GetKeyFromRegistry()
  
      if not self._registry_key:
        return None
  
      return self._registry_key.offset
docs: int: offset of the key within the Windows Registry file or None.