Key.createKey

Key createKey(string name, REGSAM access = REGSAM.KEY_ALL_ACCESS)

Returns the named sub-key of this key.

Parameters

nameThe name of the subkey to create. May not be null.

Returns

The created key.

Throws

RegistryException is thrown if the key cannot be created.