private bool GetCurrentScreensaverModeStatusFromRegistry()
 {
     return(HololensRegKey.IsExists(ScreensaverModeRegkeyName) && ((int)HololensRegKey.GetValue(ScreensaverModeRegkeyName)).ConvertIntToBool());
 }
Beispiel #2
0
 private bool GetCurrentVirtualScreensStatusFromRegistry()
 {
     return(HololensRegKey.IsExists(VirtualScreensRegkey) && ((int)HololensRegKey.GetValue(VirtualScreensRegkey)).ConvertIntToBool());
 }
 private void SetCurrentSleepDelayValue()
 {
     _sleepDelayValueLabel.Content = $"{(HololensRegKey.IsExists(SleepDelayRegkeyName) ? TimeConverter.ConvertMillisecondsIntoMinutes((int) HololensRegKey.GetValue(SleepDelayRegkeyName)) : DefaultSleepDelay).ToString()} minutes";
 }