title: How do i capture the Print Screen key?
body: <p>I my program I need to capture when the Print Screen key is pressed down but it is not working (however it works with other keys).</p>
  
  <p>I guess this has something to do with windows hijacking my authority and since im still new at this I'd love to know how I can get around this issue.</p>
  
  <p>Here's my current code:</p>
  
  <pre><code>namespace Boom_Screenshot_
  {
      /// &lt;summary&gt;
      /// Interaction logic for Window1.xaml
      /// &lt;/summary&gt;
      public partial class Window1 : Window
      {
          //SETTINGS
          Key TRIGGER_KEY = Key.PrintScreen;
  
          public Window1()
          {
              InitializeComponent();
          }
  
          private void Window_KeyDown(object sender, KeyEventArgs e)
          {
              if (e.Key == TRIGGER_KEY)
              {
                  MessageBox.Show("'PrintScreen' was pressed.");
              }
          }
      }
  }
  </code></pre>