Writing drivers in C#

Gaurav Aroraa picture Gaurav Aroraa · Jun 15, 2009 · Viewed 38.6k times · Source

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#.

Answer

Sergey Podobry picture Sergey Podobry · Jun 15, 2009

Actually, you can write some drivers in C# if you use UMDF because it runs in usermode (see Getting Started with UMDF). But my recommendation is to use C/C++.