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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.