Click or drag to resize
ProfileCreateSubKey Method
Create a registry key for the given DriverID.

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.3.0.2839)
Syntax
public void CreateSubKey(
	string DriverID,
	string SubKey
)

Parameters

DriverID
Type: SystemString
ProgID of the device to read from
SubKey
Type: SystemString
Subkey from the profile root in which to write the value
Exceptions
ExceptionCondition
InvalidValueExceptionThrown if DriverID is an empty string.
DriverNotRegisteredExceptionThrown if the driver is not registered,
Remarks
If the SubKey argument contains a \ separated path, the intermediate keys will be created if needed.
See Also