Writing drivers in C#

后端 未结 5 1466
长发绾君心
长发绾君心 2020-12-08 14:04

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

5条回答
  •  攒了一身酷
    2020-12-08 14:52

    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 it is not supported in VStudio either (but you can make a makefile project for compilation though).

    Driver development is complex, prone to blue screen and requires a good understanding of C , kernel structures and mem manipulation. None of those skills are required for C# and .NET therefore there is a long and painful training path.

提交回复
热议问题