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.1.1.2619)

Syntax

C#
public void Register(
	string DriverID,
	string DescriptiveName
)
Visual Basic
Public Sub Register ( _
	DriverID As String, _
	DescriptiveName As String _
)
Visual C++
public:
virtual void Register(
	String^ DriverID, 
	String^ DescriptiveName
) sealed

Parameters

DriverID
Type: System..::..String
ProgID of the device to register
DescriptiveName
Type: System..::..String
Descriptive name of the device

Implements

IProfile..::..Register(String, String)

Remarks

Does nothing if already registered, so safe to call on driver load.

See Also