If the requested key does not exist, this method returns null instead of throwing an exception.
If writable is true, the key will be opened for reading and writing, otherwise, the key will be opened as read-only.
In order to use the OpenSubKey method, you must have an instance of the RegistryKey method. To get an instance of RegistryKey, use one of the static members of the Registry class.