Hardware Abstraction Layer (HAL) for the .net framework

MS has done a great job with the .net platform. but as today's apps are business oriented the .net framework
is largely developed for business centric apps. C# will undoubtedly be MS's next generation development
language but when it comes to low level system functions such as accessing ports and pci slots, usb devices we
have to undergo through win32 apis. so i would like to suggest a HAL for the .net platform so that devices
can be programmed and embedded with programs running on .net platform. if any technologies already exist in .net
please tell me. .net 2.0 provides access to serail ports. i know it ! but how to access USB, PCI slots...

thanks for reading.




Answer this question

Hardware Abstraction Layer (HAL) for the .net framework

  • Mustansir - MSFT

    Yes, this component was built specifically for working with USB ports in .Net.

    Here's what the project description says:

    #usblib is a .NET USB library. With #usblib you can easily access USB hardware devices. #usb wraps libusb and works under Win32 with the .NET Framework or under Linux with Mono.



  • Holger Grund

    Not a HAL by any means, but this project will allow you to work with USB ports:

    http://www.icsharpcode.net/OpenSource/SharpUSBLib/default.aspx



  • Michael Stephenson UK

    can it be used with .net framework; i really doubt it. there is a library present for parallel ports but documentation is cumbersome.

  • Hardware Abstraction Layer (HAL) for the .net framework