I want to know if I can do it in C# or other languages?
Share
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.
There is no universal way to do this because BIOS configurations vary from vendor to vendor. The mapping of various CMOS memory locations is unique to the motherboard, BIOS, and BIOS revision. You’ll have to find out this information from your particular vendor, and your app won’t be very portable.
Plus, even once you get past this hurdle, Windows won’t allow you to access the BIOS (or otherwise do port I/O) from a user-mode application. You’ll have to write a kernel mode driver to be able to do this. And of course, you cannot write kernel mode drivers in C# because the runtime executes in user mode. You’ll have to write something like this in C.