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: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
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

.NET Standard

Obsolete (compiler warning) in 2.0

See Also