Hey CodeGuru community

Say I have an application that would listen to all keystrokes whether it be from 1 specific application or just from any application.
And say I'm using a laptop, with an extra keyboard plugged in via USB.
Would it be possible to determine from which keyboard (laptop one / USB one) the keystrokes come?
I'm currently using .NET 4.0 , but I'm guessing .NET alone is not capable of this, I'm not sure. Help me out please!

Any help is appreciated.

Thanks in advance