you could use the SaveSetting / GetSetting method to write the values and retrieve the values from the registry.
SaveSetting("appname", "section", "key", "value")
GetSetting("appname", "section", "key")
Probably not the most elegant solution but it works and is easy.