Possible Duplicate:
C# driver development?
I would like to know if I can do kernel level programming (on Windows) using C#
or any other .NET
language?
Possible Duplicate:
C# driver development?
I would like to know if I can do kernel level programming (on Windows) using C#
or any other .NET
language?
No. The CLR has user mode dependencies and can't be hosted in kernel mode.
That said, there are 2 more things to consider: one, that if you could satisfy the the CLR dependencies in some way, like providing your own implementations of Kernel32 and User32 and other user mode components, then it is probably at least possible. Two, the language itself could be used to output some other language, like x86 assembly, where this would be possible. You'd have to write the translator and provide BCL type analogs, yourself, though.
No. You should use C, possibly C++.