diff --git a/SafeExamBrowser.Monitoring/Display/Display.cs b/SafeExamBrowser.Monitoring/Display/Display.cs index 7981e206..7735d58f 100644 --- a/SafeExamBrowser.Monitoring/Display/Display.cs +++ b/SafeExamBrowser.Monitoring/Display/Display.cs @@ -12,7 +12,7 @@ namespace SafeExamBrowser.Monitoring.Display { public string Identifier { get; set; } public bool IsActive { get; set; } - public bool IsInternal { get; set; } - public VideoOutputTechnology Technology { get; set; } + public bool IsInternal => Technology == VideoOutputTechnology.DisplayPortEmbedded || Technology == VideoOutputTechnology.Internal; + public VideoOutputTechnology Technology { get; set; } = VideoOutputTechnology.Uninitialized; } } diff --git a/SafeExamBrowser.Monitoring/Display/DisplayMonitor.cs b/SafeExamBrowser.Monitoring/Display/DisplayMonitor.cs index 4c7adbd1..27e882ac 100644 --- a/SafeExamBrowser.Monitoring/Display/DisplayMonitor.cs +++ b/SafeExamBrowser.Monitoring/Display/DisplayMonitor.cs @@ -197,7 +197,6 @@ namespace SafeExamBrowser.Monitoring.Display if (display != default(Display)) { display.IsActive &= isActive; - display.IsInternal = technology == VideoOutputTechnology.Internal; display.Technology = technology; } }