Click or drag to resize

CrestronEthernetHelperSetEthernetParameter(CrestronEthernetHelperETHERNET_PARAMETER_TO_SET, Int16, String, AuthenticationUserToken) Method

Function to set the specified ethernet parameter for the specific device Id

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static bool SetEthernetParameter(
	CrestronEthernetHelperETHERNET_PARAMETER_TO_SET ethernetParameterToSet,
	short adapterID,
	string valueToBeSet,
	AuthenticationUserToken userToken
)

Parameters

ethernetParameterToSet  CrestronEthernetHelperETHERNET_PARAMETER_TO_SET
Ethernet parameter to set
adapterID  Int16
adapter Id - 0 Based
valueToBeSet  String
value to be set
userToken  AuthenticationUserToken
user credential token.

Return Value

Boolean
true if the operation succeeds; otherwise, false
Exceptions
ExceptionCondition
ArgumentException User Token is not valid
AuthenticationPrivilegeException User is not administrator.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also