Click or drag to resize

EthernetAutodiscoveryQuery(EthernetAdapterType) Method

Function to initiate an Autodiscovery query on the specified adapter. Will populate the DiscoveredElementsList. This function needs to be invoked before a call can be made to any of the autodiscovery related functions. The parameter is only supported on firmware version 1.502.0018 and higher.

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

Parameters

adapterToQuery  EthernetAdapterType
Indicates which adapter to query. The valid values are EthernetLANAdapter for LAN side , EthernetCSAdapter for CS side and EthernetUnknownAdapter for both sides. EthernetUnknownAdapter is the default value. This value is only used for a unit with a router. For all other units this value is ignored.

Return Value

EthernetAutodiscoveryeAutoDiscoveryErrors
eAutoDiscoveryErrors - enum indicating return value
Exceptions
ExceptionCondition
NotSupportedExceptionEthernet autodiscovery is not supported on this platform. Use DevicePlatform to determine the running platform type.
Remarks
On a successful response , the DiscoveredElementsList gets populated.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also