ChooserChoose(String) Method

Note: This API is now obsolete.
Display the Chooser dialogue enabling the user to select a driver

Definition

Namespace: ASCOM.Com
Assembly: ASCOM.Com (in ASCOM.Com.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
C#
[ObsoleteAttribute("ASCOM.Com.Chooser wraps the .NET 3.5 COM Chooser component and is not Intel CET compatible. If you target .NET 9 or later, you should migrate to the Stand Alone Chooser (ASCOM.Com.ChooserSA) to avoid CET related crashes.")]
public string Choose(
	string progId
)

Parameters

progId  String
The driver ProgId to pre-select in the Chooser drop-down list

Return Value

String
The ProgID of the selected device or an empty string if no device was chosen

Version Information

Obsolete (compiler warning) in .NET Standard 2.0, .NET 8 .NET 9. .NET 10

See Also