Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6345193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:46:28+00:00 2026-05-24T20:46:28+00:00

I have absolutely no experience or knowledge regarding hardware registers and how to interface

  • 0

I have absolutely no experience or knowledge regarding hardware registers and how to interface with them via code. However, my current C# project requires me to read temperatures from a chip on the SMBus, and I think I’m going to have to get my hands dirty. In case you would like to know, the temperature sensor is the Winbond W83793G.

I have a long way to go, but I’ve started by looking at this document on Page 5:
smbus.org/specs/smbb10.pdf

It seems the first step to accomplishing my task is to write to the following hardware registers: AX, BH, BL, CH, CL, and read the return values from the following: Carry, AH, AL, BL, CH, CL, DX. Using this I can determine whether the ‘SMBus BIOS Interface’ is available. More importantly, if I can manage this much in C#, I can follow the rest of the documentation to eventually read from the Winbond W83793G and pull out the values I want from the temperatures sensors. And no, OpenHardwareMonitor doesn’t currently support SMBus, so I can’t refer to it for code.

In summary, my basic question is: What is an easy, efficient way to read from and write to hardware registers using C#?

And in addition, if you could provide any feedback on my specific problem of reading from the chip, that would be a bonus for me and I’d appreciate it very much!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T20:46:28+00:00Added an answer on May 24, 2026 at 8:46 pm

    C# is a managed language running in a virtual machine. It runs on a variety of platforms. It has no inbuilt concept of hardware registers.

    You will need to use low level programming languages to write the code to access the hardware registers.

    If this code is compiled into windows dlls you could then wrap this code in C# by accessing the non-managed dlls using PInvoke.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have absolutely no idea why this is happening but the following code seems
I have never used dll's before(absolutely no experience) and I wanted to replace a
I'm a fairly fresh developer, and so have absolutely no complex experience with build
I have absolutely no experience programming in excel vba other than I wrote a
I'm having a bit of trouble with the following code. I have an absolutely
I have been developing a project that I absolutely must develop part-way in C++.
Im have absolutely no experience with .htaccess and i tried something today. I basicly
I have absolutely no idea how to do this, so I'm just gonna go
I have an absolutely positioned div containing several children, one of which is a
I have an absolutely positioned div that has a width of 100% with a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.