Ejemplo n.º 1
0
 /// <summary>
 /// Send the DiSEqC Command to the tuner filter
 /// </summary>
 /// <param name="diSEqC">DiSEqC command</param>
 /// <returns></returns>
 public bool SendDiSEqCCommand(byte[] diSEqC)
 {
     if (_interfaceB2C2TunerCtrl == null)
     {
         return(false);
     }
     for (int i = 0; i < diSEqC.Length; ++i)
     {
         Marshal.WriteByte(_ptrDisEqc, i, diSEqC[i]);
     }
     _interfaceB2C2TunerCtrl.SendDiSEqCCommand(diSEqC.Length, _ptrDisEqc);
     return(true);
 }