title: How can I detect Ctrl-Alt-Del either before or after the OS detects it?
body: <p>I need to initialize a variable when the user presses <kbd>Ctrl</kbd>-<kbd>Alt</kbd>-<kbd>Del</kbd>. Because this key combination is treated differently than others, the Windows Security Dialog Box appears immediately after it is pressed and my program can not detect whether it is pressed. </p>
  
  <p>I tried adding the code below to the KeyDown event, but it does not work.</p>
  
  <pre><code>     if ( (Keyboard.Modifiers == (ModifierKeys.Control | ModifierKeys.Alt)) &amp;&amp; Keyboard.IsKeyDown(Key.Delete))
       {
           // Initialize a variable
       }
  </code></pre>
  
  <p>If it is possible, how can I detect this key combination before the OS detects it? If not, how can I detect it after the OS?</p>