DeviceCapabilitiesHasConnected(NullableDeviceTypes, Int32) Method

Returns for all devices except IFocuserV1 devices that do not have the Connected property

Definition

Namespace: ASCOM.Common.DeviceInterfaces
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
C#
public static bool HasConnected(
	DeviceTypes? deviceType,
	int interfaceVersion
)

Parameters

deviceType  NullableDeviceTypes
Device type.
interfaceVersion  Int32
Interface version of this device (Int32)

Return Value

Boolean
for all device interfaces except IFocuserV1

Exceptions

Version Information

Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10

See Also