Click or drag to resize

IROutputPortPressAndRelease(String, UInt16) Method

Function to send an IR Command for the duration of the specified Timeout.

Namespace: Crestron.SimplSharpPro
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public void PressAndRelease(
	string IRCmdName,
	ushort TimeOutInMS
)

Parameters

IRCmdName  String
Name of the command to send.
TimeOutInMS  UInt16
Time in ms to send the command.
Exceptions
ExceptionCondition
InvalidOperationExceptionNo IR Drivers Currently Loaded

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also