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
You can't write drivers in C#; drivers need to run with elevated privilege to be able to talk to hardware; managed code cannot be run in the appropriate environment.