Chooser Class

The Chooser provides a way for your application to let your user select which device to use.

Definition

Namespace: ASCOM.Com
Assembly: ASCOM.Com (in ASCOM.Com.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
C#
public class Chooser : IDisposable
Inheritance
Object    Chooser
Implements
IDisposable

Remarks

This component is a light wrapper for the Platform Chooser COM component. In time it will be re-written as a native .NET Core component

Constructors

Chooser Creates a new Chooser object with no logger
Chooser(ILogger) Creates a new Chooser object with a logger

Properties

DeviceType The type of device from which the Chooser will select a driver. (default = "Telescope")

Methods

Choose Select the ASCOM driver to use without pre-selecting one in the drop-down list
Obsolete
Choose(String) Display the Chooser dialogue enabling the user to select a driver
Obsolete
Dispose Release the Chooser component's Chooser COM object

Version Information

Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10

See Also