Can I get input keyboard Hardware ID in .net WPF KeyEventArgs?

1.3k Views Asked by At

I have a .net wpf form examining keystrokes using:

private void Window_PreviewKeyDown(object sender, KeyEventArgs e)

There are two 'keyboards': one is the standard input keyboard and the other is a USB credit card reader. Do any of the KeyEventArgs properties allow me to tell which Hardware ID sent the text?

Or is there a method I can call from PreviewKeyDown() to get the Hardware ID? I have looked through all the KeyEventArgs properties including the private ones I don't have access to and could find nothing specific to a Hardware ID.

0

There are 0 best solutions below