Is there a way to permanently change Windows 10 display setting using C#
code.
Changes that I have to do are as follows:
- sleep: Never 2. screenSaver: disable 3. HardDisk(Sleep) : Never
I have a media player setup, and once this player is installed, the setting should be reflected. Don't want temporary changes like while the program is running, it will prevent sleep mode or something like that.
I am using .Net 4.5
with visual studio 2015