Did something similar a while back in C#. Registers itself as a system service so it can even switch displays when no user is logged in (i.e. you're on the Windows login screen). Also has a web GUI for configuration.
229 karma · joined November 7, 2016