DeviceCapabilitiesIsSupportedInterface Method

Returns if the interface version of the specified device type is a Platform 6 interface version

Definition

Namespace: ASCOM.Common.DeviceInterfaces
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static bool IsSupportedInterface(
	DeviceTypes? deviceType,
	short interfaceVersion
)

Parameters

deviceType  NullableDeviceTypes
Device type.
interfaceVersion  Int16
Interface version of this device (Int16, short)

Return Value

Boolean
when the interface version is a Platform 6 interface version.

Exceptions

InvalidValueExceptionWhen deviceType is null.
InvalidValueExceptionWhen interfaceVersion is 0 or negative.

Version Information

.NET Standard

Supported in: 2.0

See Also