System.IO.Ports.SerialPort

Discussion in 'Microsoft C# .NET' started by Jimmy, Mar 16, 2007.

  1. Jimmy

    Jimmy Guest

    Can class SerialPort handle also USB devices?
    Anyone know any samples.

    Cheers,
     
    Jimmy, Mar 16, 2007
    #1
    1. Advertisements

  2. 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.
     
    Marcel Beutner, Mar 16, 2007
    #2
    1. Advertisements

  3. Jimmy

    Lebesgue Guest

    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" <> wrote in message
    news:eten54$p4h$...
    > Can class SerialPort handle also USB devices?
    > Anyone know any samples.
    >
    > Cheers,
    >
    >
     
    Lebesgue, Mar 16, 2007
    #3
  4. Jimmy

    Eric Guest

    On Mar 16, 2:24 pm, "Jimmy" <> 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
     
    Eric, Mar 18, 2007
    #4
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Piotrekk

    Controling Port pins - System.IO.Ports.SerialPort

    Piotrekk, Dec 27, 2005, in forum: Microsoft C# .NET
    Replies:
    0
    Views:
    261
    Piotrekk
    Dec 27, 2005
  2. Mugunth

    Problem with System.IO.Ports.SerialPort.Open

    Mugunth, Mar 7, 2007, in forum: Microsoft C# .NET
    Replies:
    3
    Views:
    672
    Chris Dunaway
    Mar 8, 2007
  3. Bandu
    Replies:
    0
    Views:
    285
    Bandu
    Nov 8, 2007
  4. Pubs
    Replies:
    1
    Views:
    380
  5. Andrew Poelstra

    Set DTR pulse using System.IO.Ports.SerialPort

    Andrew Poelstra, Feb 21, 2010, in forum: Microsoft C# .NET
    Replies:
    1
    Views:
    3,776
    Andrew Poelstra
    Feb 21, 2010
Loading...

Share This Page