Click or drag to resize

IROutputPortPress(UInt32, String) Method

Function to send a IR command using the specified driver ID and command name.

Namespace: Crestron.SimplSharpPro
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public void Press(
	uint IRDriverID,
	string IRCmdName
)

Parameters

IRDriverID  UInt32
The IRID of the Device. This is the return from the LoadIRFile() function.
IRCmdName  String
The IR command name.
Exceptions
ExceptionCondition
ArgumentExceptionInvalid IR Command Name specified.
ArgumentOutOfRangeExceptionInvalid IR Driver ID specified.
InvalidOperationExceptionUnable to send the IR Command to the driver.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also