Click or drag to resize

CrestronCresnetHelperSetCresnetIdByCurrentCresnetId(UInt32, Byte) Method

Function to set the cresnet Id for a specific device based on the current Cresnet Id of the device

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static CrestronCresnetHelpereCresnetDiscoveryReturnValues SetCresnetIdByCurrentCresnetId(
	uint currentCresnetIdInHexOfSpecificDevice,
	byte newIdInHexToSetSpecifiedDeviceTo
)

Parameters

currentCresnetIdInHexOfSpecificDevice  UInt32
Current Cresnet Id of the specific device
newIdInHexToSetSpecifiedDeviceTo  Byte
New Id to set the specified device to

Return Value

CrestronCresnetHelpereCresnetDiscoveryReturnValues
eCresnetDiscoveryReturnValues Enum indicating failure or success
Exceptions
ExceptionCondition
NotSupportedExceptionCresnet is not supported on this platform. Use DevicePlatform to determine the running platform type.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also