From 49540af39d882e0b844d8838f3527f49abc483fb Mon Sep 17 00:00:00 2001 From: dbuechel Date: Tue, 8 Aug 2017 08:37:22 +0200 Subject: [PATCH] Added Windows keys to be blocked by the keyboard interceptor. --- SafeExamBrowser.Monitoring/Keyboard/KeyboardInterceptor.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SafeExamBrowser.Monitoring/Keyboard/KeyboardInterceptor.cs b/SafeExamBrowser.Monitoring/Keyboard/KeyboardInterceptor.cs index 5bfb9722..d0e1bffe 100644 --- a/SafeExamBrowser.Monitoring/Keyboard/KeyboardInterceptor.cs +++ b/SafeExamBrowser.Monitoring/Keyboard/KeyboardInterceptor.cs @@ -43,7 +43,9 @@ namespace SafeExamBrowser.Monitoring.Keyboard block |= key == Key.F10; block |= key == Key.F11; block |= key == Key.F12; + block |= key == Key.LWin; block |= key == Key.PrintScreen; + block |= key == Key.RWin; block |= key == Key.Escape && modifier.HasFlag(KeyModifier.Alt); block |= key == Key.Escape && modifier.HasFlag(KeyModifier.Ctrl);