Can anyone give me a simple piece of code that says how to write/read from the registry?

WP