DevicesIsValidDeviceTypeName Method

Confirms that the supplied device type string name is valid

Definition

Namespace: ASCOM.Common
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
C#
public static bool IsValidDeviceTypeName(
	string deviceTypeName
)

Parameters

deviceTypeName  String
Device type name as a string

Return Value

Boolean
True if the supplied name is a valid ASCOM device type, otherwise returns false.

Version Information

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

See Also