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

Definition

Namespace: ASCOM.Alpaca.Discovery
Assembly: ASCOM.Alpaca (in ASCOM.Alpaca.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
C#
[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
)

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.

Remarks

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

Version Information

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

See Also