Profile.Register Method
Click or drag to resize

ProfileRegister Method

Registers a supplied DriverID and associates a descriptive name with the device

Namespace:  ASCOM.Utilities
Assembly:  ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.4.0.2624)
Syntax
public void Register(
	string DriverID,
	string DescriptiveName
)

Parameters

DriverID
Type: SystemString
ProgID of the device to register
DescriptiveName
Type: SystemString
Descriptive name of the device
Remarks
Does nothing if already registered, so safe to call on driver load.
See Also