Using the SDK
- The .NET Framework 4.5.1 or higher.
- RedRat.dll – V4.15.zip
- RedRat hardware. This is actually optional, but only minimal testing will be possible without hardware.
Reference the file RedRat.dll in your .NET project to access its API. Several sample projects show the basics of using RedRat devices. Sample .NET Code (C#, VB.NET, VC++) Download (zip)
- SimpleSignalOutput: Shows how to find a USB RedRat3 device, load an IR signal database file and output a signal from this file via the RedRat3.
- RR_CLI: A command line program for the output of IR signals, described in more detail here.
- SignalDecoding: Demonstrates the code needed to handle input IR signals from the RC detector on a RedRat3, decode them and perform an action as a result. In this case, a small window is moved around the screen using cursor keys on a remote control.
- CustomSignal: shows how to construct a couple of IR signals, and then save them in the standard Signal DB Utility XML file format so that you can load them into the Signal DB Utility for further use.
- irNetBox-III-Demo: Shows how to output IR signals via the irNetBox-III. This uses both the old synchronous API (sending one signal at a time, which is applicable to older irNetBox versions) and the new asynchronous API which supports sending multiple, different IR signals from the MK-III irNetBox.
- VB-Net-Sample: A small VB.NET application that tests many RedRat3 functions to show API use with VB.NET.
- VC++_NET_Sample: Shows use of the RedRat API using managed VC++.
Take a look at various code examples giving an introduction to using the RedRat SDK.