Writing drivers in C#
问题 I have written earlier in C/C++ but currently, I need it to convert into C#. Can anyone tell me the code/way How to write drivers in C#? Actually currently I have some problems with my old application written in C++ and we have to write the drivers of our LPT1,COM Printers and other USB drivers in C#. 回答1: Simply you can't. C# produces intermediate language that is interpreted by a virtual machine (.NET). All these stuff runs in user mode and WDM drivers run in kernel mode. There is a DDK but