ChooserChoose(String) Method
Note: This API is now obsolete.
Display the Chooser dialogue enabling the user to select a driver
Namespace: ASCOM.ComAssembly: ASCOM.Com (in ASCOM.Com.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
[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
)
<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 Function Choose (
progId As String
) As String
- progId String
- The driver ProgId to pre-select in the Chooser drop-down list
StringThe ProgID of the selected device or an empty string if no device was chosen
Obsolete (compiler warning) in .NET Standard 2.0, .NET 8 .NET 9. .NET 10