DeviceCapabilitiesIsValidAscomInterface Method
Returns if the interface version of the specified device type is a valid ASCOM interface version on any Platform
Namespace: ASCOM.Common.DeviceInterfacesAssembly: ASCOM.Common (in ASCOM.Common.dll) Version: 2.2.1+77356f79b05b579f6d860a4edd5934fda9fe29e4
public static bool IsValidAscomInterface(
DeviceTypes? deviceType,
int interfaceVersion
)
Public Shared Function IsValidAscomInterface (
deviceType As DeviceTypes?,
interfaceVersion As Integer
) As Boolean
- deviceType NullableDeviceTypes
- Device type.
- interfaceVersion Int32
- Interface version of this device (Int32, int).
Boolean when the interface version is a Platform 6 interface version.
Supply an interface version of 1 (valid) rather than zero (invalid) for very early drivers that do not have an InterfaceVersion property.
Supported in: 2.0