title: Scan code of Keyboard in c#
body: <p>I'm doing a project in c#. I want to catch the data of scan code of the keyboard.
  I have used the MapVirtualKey() function. But with this function, the keyboard have translated from scan code into ascii code, then we use this function to translate from ascii back to scan code.
  I want to know how to catch the scan code of the keyboard, before it translate into the ascii code, that mean when i press a key, i will get make code. When i release, i will get break code.
  For example, press key 'A' i will get "1E" , release i will get "9E" (makecode and breakcode of scan code set 1).
  Thanks all.</p>