Click or drag to resize

RFExSetupInformationSendConsoleCommandToGateway Method

Method to send a console command to the gateway. Carriage return not needed. Do not issue this within a DeviceChange event handler.

Namespace: Crestron.SimplSharpPro
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public bool SendConsoleCommandToGateway(
	string paramCommand,
	out string paramCommandResponse
)

Parameters

paramCommand  String
Command to send to the device.
paramCommandResponse  String
String to store the response from the gateway.

Return Value

Boolean
True, if the command was sent successfully;False, possible error was returned or the sending of the command timed out.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe specified command string is null or empty.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also