How do I send keys or key combinations to the Windows OS itself?
I have a software KVM application(Input Director) that is listening for key strokes. 
How do I send key strokes via my c sharp windows application to the Windows operating system such that the above software KVM application can hook into it.

I have googled a lot and found .Net Sendkeys class which sends input to the active windows and also a Win32 SendInput wrapper called WindowsInputSimulator that does the same.

I am using using .Net Framework 2.0.

Thanks.
How do I send keys or key combinations to the Windows OS itself?
===

I have a software KVM application(Input Director) that is listening for key strokes. 
How do I send key strokes via my c sharp windows application to the Windows operating system such that the above software KVM application can hook into it.

I have googled a lot and found .Net Sendkeys class which sends input to the active windows and also a Win32 SendInput wrapper called WindowsInputSimulator that does the same.

I am using using .Net Framework 2.0.

Thanks.