SamGMU
SamGMU

Reputation: 129

Read USB using .NET

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

Answers (4)

Christian Findlay
Christian Findlay

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

AMissico
AMissico

Reputation: 21684

Upvotes: 1

user347594
user347594

Reputation: 1296

Use LibUSBDotNet. It is said to be good.

Upvotes: 1

Adam Robinson
Adam Robinson

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

Related Questions