Weird signing crap.
4 using System.Collections.Generic;
6 using System.Runtime.InteropServices;
7 using System.Runtime.Serialization;
9 using System.Threading.Tasks;
11 namespace SharpDisplayManager
14 [AttributeObject(Id = "Cec.Device.Standby", Name = "CEC Device Standby", Description = "Puts on standby the specified CEC device on your HDMI bus.")]
15 public class ActionCecDeviceStandby : ActionCecDevice
18 /// Build a user readable string to describe this action.
20 /// <returns></returns>
21 public override string Brief()
23 return "CEC Standby " + DeviceName;
29 protected override void DoExecute()
31 if (Cec.Client.Static == null)
33 Console.WriteLine("WARNING: No CEC client installed.");
37 Cec.Client.Static.Lib.StandbyDevices(Device);