Finder Class

Initiates a discovery and raises events as devices respond

Definition

Namespace: ASCOM.Alpaca.Discovery
Assembly: ASCOM.Alpaca (in ASCOM.Alpaca.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public class Finder : IDisposable
Inheritance
Object    Finder
Implements
IDisposable

Constructors

Finder Creates a Alpaca Finder object that sends out a search request for Alpaca devices 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
Finder(Boolean, ILogger) Creates a Alpaca Finder object that sends out a search request for Alpaca devices 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

Properties

BroadcastResponses List of all responses to the broadcasts
CachedEndpoints List of IP Endpoints that returned valid Alpaca discovery responses

Methods

ClearCache Clears the cached IP Endpoints in CachedEndpoints
Dispose DIspose of the Finder
Search(Boolean, Boolean) Resends the search request on the default discovery port
Search(Int32, Boolean, Boolean) Resends the search request on the specified discovery port

Events

ResponseReceivedEvent Event raised each time a discovery response is received from a device

Version Information

.NET Standard

Supported in: 2.0

See Also