Crestron.SimplSharp

Crestron.SimplSharp is the API to create SIMPL# libraries using Visual Studio 2008 and the Crestron SIMPL# compiler.

A SIMPL# Library (.CLZ) may be referenced from a SIMPL+ program module (.USP), and that referenced from a SIMPL program (.SMW) to create a Series 3 / LOGOS Control System program (.LPZ).

Classes

  ClassDescription
Public classCCriticalSection
Critical Section synchronization between threads.
Public classCEvent
Class for the crestron Event
Public classCEventHandle
Base class for the crestron CEvent.
Public classCMonitor
Methods to provide synchronizes access to objects.
Public classCMutex
Class for the crestron Mutex
Public classCNamedEvent
Class for the crestron Named Event A named event can be shared across multiple programs
Public classCNamedMutex
Class for the crestron Named Mutex A named mutex can be shared across multiple programs
Public classCrestronConsole
Class to allow access to the Crestron Console.
Public classCrestronCresnetHelper
Common Cresnet Helper
Public classCrestronCresnetHelper..::..DiscoveredDeviceElement
One discovered Cresnet device
Public classCrestronEnvironment
Methods to change the system's Date, Time, and Timezone.
Public classCrestronEnvironment..::..GC
Controls the system garbage collector, a service that automatically reclaims unused memory.
Public classCrestronEnvironment..::..SystemInfo
Class containing Crestron control system information
Public classCrestronEthernetHelper
Crestron Ethernet Helper library
Public classCrestronFileTransferClient
FileTransferClient class is a File Transfer Class.
Public classCrestronInvoke
Crestron Invoke class - Provides BeginInvoke functionality
Public classCrestronMailFunctions
Sending Email through devices.
Public classCrestronQueue
Fixed-size queue that supports concurrent access and blocking for specified amounts of time while performing operations
Public classCrestronQueue<(Of <(<'T>)>)>
Fixed-size generic type queue that supports concurrent access and blocking for specified amounts of time while performing operations
Public classCrestronZIP
Class-wrapper for zip functionality from Utilities DLL
Public classCTimer
Timer class for the Crestron Simpl#
Public classDebugger
This class provides debugging features.
Public classErrorLog
Class to allow the CustomApplication to log errors
Public classEthernetAutodiscovery
Ethernet Autodiscovery class
Public classEthernetAutodiscovery..::..AutoDiscoveredDeviceElement
One Autodiscovered Ethernet device
Public classEthernetEventArgs
Class for the Ethernet event args. This is what is passed on to the user
Public classInitialParametersClass
Static class for all initial parameters
Public classInterlocked
Class for providing atomic operations for variables that are shared by multiple threads.
Public classIPAddress
Provides an Internet Protocol (IP) address.
Public classIPEndPoint
Represents a network endpoint as an IP address and a port number.
Public classReadOnlyDictionary<(Of <(<'TKey, TValue>)>)>
Wrapper for a dictionary that is read only.
Public classSimplSharpString
String class to convert between a CrestronString and Simpl # strings Used when interfacing with Simpl Plus
Public classSocketException
Exception used to throw a socket exception.
Public classStopwatch
Object to accurately measure elapsed time.
Public classTimeout
Timeout for the Crestron Event and Timer class
Public classXmlException
Exception used when an Xml error occurs.

Structures

  StructureDescription
Public structureCrestronEnvironment..::..CrestronTimeZoneInfo
timezone settings
Public structureCrestronEthernetHelper..::..PortForward
Port forwarding parameters
Public structureCrestronEthernetHelper..::..UserPAT
User PAT (protocol address translation) mapping parameters

Interfaces

  InterfaceDescription
Public interfaceICrestronConsole
Interface to the Crestron Console.

Delegates

  DelegateDescription
Public delegateCrestronCresnetHelper..::..LightAndPollDeviceFunctionDelegate
Delegate Signature for the Light and Poll functionality
Public delegateCrestronFileTransferClient..::..UserProgressCallBack
CallBack prototype for progress feedback
Public delegateCrestronPrintDelegate
Delegate callback for printing to the console
Public delegateCrestronSharpHelperDelegate
Delegate for the callback for the Invoke functionality for the Crestron Sharp Helper
Public delegateCrestronSimplSharpConsoleAccessDelegate
Delegate callback for printing to the console
Public delegateCTimerCallbackFunction
Crestron Timer Callback function
Public delegateEthernetEventHandler
Delegate for the Ethernet Event Handler
Public delegateInitialParametersClass..::..ResolveHostNameFunctionDelegate
Delegate Signature for the Resolve Host name command
Public delegateProgramStatusEventHandler
Delegate for the program status event handler
Public delegateSimplSharpProConsoleCmdFunction
Delegate to hold a ConsoleCommand callback function
Public delegateSystemEventHandler
Delegate for the system event handler

Enumerations

  EnumerationDescription
Public enumerationAddressFamily
Specifies the addressing scheme.
Public enumerationConsoleAccessLevelEnum
Console access levels
Public enumerationCrestronCresnetHelper..::..eCresnetDiscoveryReturnValues
Enum for return codes from the Cresnet discovery operation
Public enumerationCrestronEthernetHelper..::..ETHERNET_PARAMETER_TO_GET
Enum for ethernet parameters which we can get
Public enumerationCrestronEthernetHelper..::..ETHERNET_PARAMETER_TO_SET
Enum for ethernet parameters which we can set
Public enumerationCrestronEthernetHelper..::..PortForwardingUserPatRetCodes
Port forwarding and SetStartingPortForToolBoxCSConnection function return codes
Public enumerationCrestronFileTransferClient..::..FTCCmdRequest
The cmd requested to perform
Public enumerationCrestronMailFunctions..::..SendMailErrorCodes
Email Error codes for email
Public enumerationCrestronStringEncoding
String Encoding passed in by the SIMPL compiler. This was copied from the top of CWCharString.h This is a copy from SplusObjects - so for the time being please do update there also
Public enumerationCrestronZIP..::..ResultCode
These are the result codes of a zip/unzip operation.
Public enumerationeEthernetEventType
Enum for the Ethernet Event Types
Public enumerationeProgramStatusEventType
Enum for the Program Event Types
Public enumerationeRuntimeEnvironment
Enumeration to define the various runtime environments a SIMPL# module can run in.
Public enumerationeSystemEventType
Enum for the system events
Public enumerationEthernetAdapterType
Enums for the Ethernet Adapter Type
Public enumerationEthernetAutodiscovery..::..eAutoDiscoveryErrors
Enum for return codes from the Autodiscovery operation