Click or drag to resize

CrestronEthernetHelperGetAdapterTypeForSpecifiedId Method

Function to map the passed in adapter Id to the EthernetAdapterType

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static EthernetAdapterType GetAdapterTypeForSpecifiedId(
	short adapterId
)

Parameters

adapterId  Int16
Adapter Id to map to a valid EthernetAdapterType

Return Value

EthernetAdapterType
EthernetAdapterType based on the passed in adapter Id.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Invalid adapter Id specified

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also