Create a registry key for the given DriverID.

Namespace: ASCOM.Utilities.Interfaces
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
void CreateSubKey(
	string DriverID,
	string SubKey
)
Visual Basic
Sub CreateSubKey ( _
	DriverID As String, _
	SubKey As String _
)
Visual C++
void CreateSubKey(
	String^ DriverID, 
	String^ SubKey
)

Parameters

DriverID
Type: System..::..String
ProgID of the device to read from
SubKey
Type: System..::..String
Subkey from the profile root in which to write the value

Remarks

If the SubKey argument contains a \ separated path, the intermediate keys will be created if needed.

See Also