UsbUirt.Controller.Transmit C# (CSharp) Method

Transmit() public method

Transmits an IR code synchronously using the default code format.
public Transmit ( string irCode ) : void
irCode string The IR code to transmit.
return void
        public void Transmit(string irCode)
        {
            CheckDisposed();
            Transmit(irCode, _defaultTransmitCodeFormat, _defaultRepeatCount, _defaultInactivityWaitTime);
        }

Same methods

Controller::Transmit ( string irCode, CodeFormat codeFormat, int repeatCount, System.TimeSpan inactivityWaitTime ) : void

Usage Example

コード例 #1
0
 public static void Test(string IRCode)
 {
     try
     {
         Controller mc = new Controller();
         mc.Transmit(IRCode, CodeFormat.Pronto, 10, TimeSpan.Zero);
         EventLog.WriteEntry("Carousel Monitor Control", "The monitor has been powered on.", EventLogEntryType.Information);
     }
     catch (Exception e)
     {
         EventLog.WriteEntry("Carousel Monitor Control", "Error powering monitor on, " + e.Message, EventLogEntryType.Error);
     }
 }
All Usage Examples Of UsbUirt.Controller::Transmit