Click or drag to resize

CrestronCresnetHelperQuery Method

Function to report all the cresnet devices in the system. This might not work if there are devices with duplicate Id's on the network. Please execute the DiscoverAllDevices function to detect if there are duplicate Id's on your network.

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static CrestronCresnetHelpereCresnetDiscoveryReturnValues Query()

Return Value

CrestronCresnetHelpereCresnetDiscoveryReturnValues
eCresnetDiscoveryReturnValues - enum indicating return value
Exceptions
ExceptionCondition
NotSupportedExceptionCresnet is not supported on this platform. Use DevicePlatform to determine the running platform type.
Remarks
On a successful response, the DiscoveredElementsList will contain all devices available in the system. The list will be empty if there are no devices in the system. if the function returns a Failure, then one of the reasons could be that there are duplicate Id's on your network. In that case please execute the DiscoverAllDevices function.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also