Finder(Boolean, ILogger) Constructor
Note: This API is now obsolete.
Creates an Alpaca Finder object with an associated ILogger instance and given JSON name case sensitivity that sends out a search request for Alpaca devices
Namespace: ASCOM.Alpaca.DiscoveryAssembly: ASCOM.Alpaca (in ASCOM.Alpaca.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
[ObsoleteAttribute("The strictCasing logic is inverted but for backward compatibility will not be changed. Use the ILogger‑only constructor to keep current behaviour.Use SetJsonNameCaseSensitivity to control case sensitivity explicitly if required.")]
public Finder(
bool strictCasing,
ILogger logger
)
<ObsoleteAttribute("The strictCasing logic is inverted but for backward compatibility will not be changed. Use the ILogger‑only constructor to keep current behaviour.Use SetJsonNameCaseSensitivity to control case sensitivity explicitly if required.")>
Public Sub New (
strictCasing As Boolean,
logger As ILogger
)
Parameters
- strictCasing Boolean
- Enforce correct casing of the port variable name in the Alpaca JSON discovery response.
- logger ILogger
- An ILogger instance (or null) into which the Finder will log.
The results will be sent to the callback and stored in the cache
Calling search and concatenating the results reduces the chance that a UDP packet is lost
This may require firewall access
Obsolete (compiler warning) in .NET Standard 2.0, .NET 8 .NET 9. .NET 10