Enum State NamespaceIot.Device.Relay AssemblyIot.Device.Relay.dll The state of the realy or the led. public enum State Fields Off = 0 State Off. On = 1 State On.