AscomDevice Class

Data object describing an ASCOM device that is served by an Alpaca device as returned by the AlpacaDiscovery component.

Definition

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

Constructors

AscomDevice Initialises the class with default values
AscomDevice(String, DeviceTypes, Int32, String, AlpacaDevice, Int32) Initialise the class providing the device type as a DeviceTypes enum value
AscomDevice(String, String, Int32, String, AlpacaDevice, Int32) Initialise the class providing the device type as a string device type name
AscomDevice(String, DeviceTypes, Int32, String, ServiceType, IPEndPoint, String, Int32, String, String, String, String) Initialise the ASCOM device name, ASCOM device type and ASCOM device unique ID, plus the Alpaca API device number, unique ID, service type, device IP endpoint, Alpaca unique ID, interface version and status message

Properties

AlpacaDeviceNumber Alpaca API device number
AscomDeviceName ASCOM device name
AscomDeviceType ASCOM device type
HostName The ASCOM device's DNS host name, if available, otherwise its IP address. IPv6 addresses will be in canonical form.
InterfaceVersion Supported Alpaca interface version
IpAddress The ASCOM device's IP address. IPv6 addresses will be in canonical form.
IpPort The ASCOM device's IP port.
Location The Alpaca device's configured location
Manufacturer The device manufacturer's name
ManufacturerVersion The device's version as set by the manufacturer
NonAscomDeviceType Device type if this is not one of the ASCOM device types such as Telescope, Camera etc.
ServerName The Alpaca device's configured name
ServiceType HTTP or HTTP service type
UniqueId ASCOM device unique ID

Version Information

.NET Standard

Supported in: 2.0

See Also