AscomDevice(String, DeviceTypes, Int32, String, ServiceType, IPEndPoint, String, Int32, String, String, String, String) Constructor
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
Namespace: ASCOM.Alpaca.DiscoveryAssembly: ASCOM.Alpaca (in ASCOM.Alpaca.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public AscomDevice(
string ascomDdeviceName,
DeviceTypes ascomDeviceType,
int alpacaDeviceNumber,
string uniqueId,
ServiceType serviceType,
IPEndPoint ipEndPoint,
string hostName,
int interfaceVersion,
string serverName,
string manufacturer,
string manufacturerVersion,
string location
)
Public Sub New (
ascomDdeviceName As String,
ascomDeviceType As DeviceTypes,
alpacaDeviceNumber As Integer,
uniqueId As String,
serviceType As ServiceType,
ipEndPoint As IPEndPoint,
hostName As String,
interfaceVersion As Integer,
serverName As String,
manufacturer As String,
manufacturerVersion As String,
location As String
)
Parameters
- ascomDdeviceName String
- ASCOM device name
- ascomDeviceType DeviceTypes
- ASCOM device type
- alpacaDeviceNumber Int32
- Alpaca API device number
- uniqueId String
- ASCOM device unique ID
- serviceType ServiceType
- HTTP or HTTPS service type
- ipEndPoint IPEndPoint
- Alpaca device IP endpoint
- hostName String
- ALapca device host name
- interfaceVersion Int32
- Supported Alpaca interface version
- serverName String
- ALapca device host name
- manufacturer String
- ALapca device host name
- manufacturerVersion String
- ALapca device host name
- location String
- ALapca device host name
This can only be used by .NET clients because COM only supports parameterless initialisers.
Supported in: 2.0