AlpacaDiscovery(Boolean, ILogger, String, String) Constructor

Note: This API is now obsolete.
Initialiser that takes a trace logger (Can only be used from .NET clients)

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 "JsonNameCaseSensitivity, ILogger" constructor to explicitly set required behaviour.")]
public AlpacaDiscovery(
	bool strictCasing,
	ILogger logger,
	string productName = "ASCOMLibrary",
	string productVersion = null
)

Parameters

strictCasing  Boolean
Trace logger instance to use for activity logging
logger  ILogger
Trace logger instance to use for activity logging
productName  String  (Optional)
Product name in the User-Agent header of management API HTTP calls
productVersion  String  (Optional)
Product version in the User-Agent header of management API HTTP calls

Version Information

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

See Also