DevicesHasAsyncSwitch Method

Returns if the device has a Platform 7 or later interface that supports asynchronous Switch methods

Definition

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
C#
public static bool HasAsyncSwitch(
	int driverInterfaceVersion
)

Parameters

driverInterfaceVersion  Int32
Interface version of this driver (Int16)

Return Value

Boolean
True if the switch supports asynchronous operations.

Exceptions

InvalidOperationExceptionThe supplied interface version is 0 or less.

See Also