PC Review


Reply
Thread Tools Rate Thread

System.IO.Ports.SerialPort

 
 
Jimmy
Guest
Posts: n/a
 
      16th Mar 2007
Can class SerialPort handle also USB devices?
Anyone know any samples.

Cheers,


 
Reply With Quote
 
 
 
 
Marcel Beutner
Guest
Posts: n/a
 
      16th Mar 2007
Not directly. Only if you have an usb driver which installs a virtual com
port. And to this com port you have acces to.

Marcel.



 
Reply With Quote
 
 
 
 
Lebesgue
Guest
Posts: n/a
 
      16th Mar 2007
Not directly, but it's possible to talk to USB devices from C# with a little
bit of interop.
This open source project: http://sourceforge.net/projects/usbwisec/ has got
some code that does USB communication in C# which you could use.

"Jimmy" <(E-Mail Removed)> wrote in message
news:eten54$p4h$(E-Mail Removed)...
> Can class SerialPort handle also USB devices?
> Anyone know any samples.
>
> Cheers,
>
>



 
Reply With Quote
 
Eric
Guest
Posts: n/a
 
      18th Mar 2007
On Mar 16, 2:24 pm, "Jimmy" <(E-Mail Removed)> wrote:
> Can class SerialPort handle also USB devices?


Some USB devices have a virtual COM port driver, and those work fine
with the SerialPort class. This is definitely not true of bulk storage
devices, though. It would take forever to download an MP3 song, or
copy a file to a USB key using a serial port driver.

Eric

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:59 PM.