Key.setValue

Sets the named value with the given binary value.

Parameters

name string

The name of the value to set. If it is the empty string, sets the default value.

value byte[]

The binary value to set.

Throws

If a value corresponding to the requested name is not found, RegistryException is thrown.

Meta