Key.getKey

Key getKey(string name, REGSAM access = REGSAM.KEY_READ)

Returns the named sub-key of this key.

Parameters

nameThe name of the subkey to aquire. If name is the empty string, then the called key is duplicated.
accessThe desired access; one of the REGSAM enumeration.

Returns

The aquired key.

Throws

This function never returns null. If a key corresponding to

the requested name is not found, RegistryException is thrown.