diff --git a/SafeExamBrowser.WindowsApi/Desktops/ObfuscatedDesktop.cs b/SafeExamBrowser.WindowsApi/Desktops/ObfuscatedDesktop.cs index 3ea57ba2..0194d30a 100644 --- a/SafeExamBrowser.WindowsApi/Desktops/ObfuscatedDesktop.cs +++ b/SafeExamBrowser.WindowsApi/Desktops/ObfuscatedDesktop.cs @@ -12,10 +12,10 @@ namespace SafeExamBrowser.WindowsApi.Desktops { internal class ObfuscatedDesktop : Desktop { - private readonly IntPtr? obfuscatedHandle; + private readonly IntPtr obfuscatedHandle; private readonly string obfuscatedName; - public ObfuscatedDesktop(IntPtr handle, string name, IntPtr? obfuscatedHandle, string obfuscatedName) : base(handle, name) + public ObfuscatedDesktop(IntPtr handle, string name, IntPtr obfuscatedHandle, string obfuscatedName) : base(handle, name) { this.obfuscatedHandle = obfuscatedHandle; this.obfuscatedName = obfuscatedName;