Click or drag to resize

CrestronConsoleSendControlSystemCommand(String, StringBuilder, UInt32) Method

Function to allow the user to send a console command and receive a response from the control system with timeout override (Only available on Mercury).

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static bool SendControlSystemCommand(
	string commandToSend,
	out StringBuilder?? pResponse,
	uint timeOutInMsec
)

Parameters

commandToSend  String
The console command to send; end line not needed.
pResponse  StringBuilder
Reference to a string where the controller's response will be stored.
timeOutInMsec  UInt32
The time out in msec.

Return Value

Boolean
True/False if the command was sent correctly.
Exceptions
ExceptionCondition
NotSupportedExceptionThis feature is only available on Mercury products.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also