Click or drag to resize

CrestronConsole Class

Class to allow access to the Crestron Console.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharpCrestronConsole

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static class CrestronConsole

The CrestronConsole type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberConsoleRegistered Flag to determine if the console has been registered. Once registered adding new console commands is not allowed.
Top
Methods
 NameDescription
Public methodStatic memberAddNewConsoleCommand(SimplSharpProConsoleCmdFunction, String, String, ConsoleAccessLevelEnum) Function for the user to add console commands to the system.
Public methodStatic memberAddNewConsoleCommand(SimplSharpProConsoleCmdFunction, String, String, ConsoleAccessLevelEnum, Boolean) Function for the user to add console commands to the system.
Public methodStatic memberConsoleCommandResponse(String) Function to print a message to the console, from the context of a console command function.
Public methodStatic memberConsoleCommandResponse(String, Object) Function to print a message to the console, from the context of a console command function.
Public methodStatic memberPrint(String) Function to print a message to the text console.
Public methodStatic memberPrint(String, Object) Function to print a formatted message to the text console.
Public methodStatic memberPrintLine(String) Function to print a message to the text console including the end line characters.
Public methodStatic memberPrintLine(String, Object) Function to print a formatted message to the text console including the end line characters.
Public methodStatic memberRemoveConsoleCommand Function for the user to remove console commands from the system. Only commands which have been registered by the user can be removed
Public methodStatic memberSendControlSystemCommand(String, String) Function to allow the user to send a console command and receive a response from the control system.
Public methodStatic memberSendControlSystemCommand(String, StringBuilder) Function to allow the user to send a console command and receive a response from the control system.
Public methodStatic memberSendControlSystemCommand(String, String, UInt32) 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).
Public methodStatic memberSendControlSystemCommand(String, StringBuilder, UInt32) 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).
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also