hardware

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Norvin Laudon

    hardware

    Does .Net have any classes to communicate directly with the hardware? (i.e.:
    writing directly to I/O addresses)

    Thanks,
    Norvin


  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: hardware

    Norvin,

    I don't know if this is what you are looking for, but have you
    considered the WMI classes (the classes in the System.Manageme nt namespace).
    You should be able to access most hardware statistics through there.

    Hope this helps.

    --
    - Nicholas Paldino [.NET/C# MVP]
    - nicholas.paldin o@exisconsultin g.com

    "Norvin Laudon" <nospamnorvinll @molinospamener gy.com> wrote in message
    news:OBR2oTYcDH A.2688@TK2MSFTN GP11.phx.gbl...[color=blue]
    > Does .Net have any classes to communicate directly with the hardware?[/color]
    (i.e.:[color=blue]
    > writing directly to I/O addresses)
    >
    > Thanks,
    > Norvin
    >
    >[/color]


    Comment

    • Willy Denoyette [MVP]

      #3
      Re: hardware

      Norvin Laudon wrote:
      || Does .Net have any classes to communicate directly with the
      || hardware? (i.e.: writing directly to I/O addresses)
      ||
      || Thanks,
      || Norvin

      No, modern OSses like Windows don't even allow you to access the HW from user space, this is a privilege held by device drivers
      only.
      Writing device drivers is reserved for native code only (C/C++, Assembly languages).

      Willy.


      Comment

      Working...