code: def GetValueByName(self, name):
      
      if not self._registry_key and self._registry:
        self._GetKeyFromRegistry()
  
      if not self._registry_key:
        return None
  
      return self._registry_key.GetValueByName(name)
docs: Retrieves a value by name.
  
      Args:
        name (str): name of the value or an empty string for the default value.
  
      Returns:
        WinRegistryValue: Windows Registry value or None if not found.