Reputation: 129
I have read many codes and none match each other.. I did little bit of programming but one thing i' confused about is: how many ways you can read a USB (how many classes or libraries i have to call to do such a thing)? when you use .serial port( does that mean you are reading a serial port or even the USB uses the same class or library)? it is my first time trying to read from USB and totally clueless on how to start. if i can figure out the first step I can then proceed...ANy hints will be greatly appreciated,
Upvotes: 3
Views: 4400
Reputation: 7712
There are more or less three different ways that you might communicate with a USB device: Hid, USB, or Serial Port (COM port). It really depends on the device driver that the manufacture has distributed with the device. Device.Net is a .NET framework that supports all of those in a uniform way.
Upvotes: 0
Reputation: 21684
USBBurn - Small utility for writing disk images to usb drive. Project created with Microsoft Visual Studio 2008 C# at http://usbburn.codeplex.com/
GPS Framework for .NET has USB support, see http://gps2.codeplex.com/ or http://gps3.codeplex.com/
USBDevice
class of http://msdn.krugle.com/kse/entprojects/1005285_scmi-ps_3#6
MSDN Code Search for "usb" at http://msdn.krugle.com/kse/entfiles?query=usb#1
Upvotes: 1
Reputation: 185693
There is no means to directly "read USB" in .NET. Interacting with the bus itself is done by device drivers.
As to how you'll interact with a particular device, this depends entirely on the device. If you can provide some information about what you're wishing to connect to, I or others may be of more assistance.
Upvotes: 1