Are there any .NET Classes for simple USB cummunication?

I am using Visual C++ 2005 Express Edition to develop a .NET managed application. I want to communicate over the Serial Port or USB to a custom Atmel AVR microcontroller embedded application. I have already coded (but not tested) my app. using the System::IO::Ports::SerialPort class.

However, I don't see any USB classes (like there is the SerialPort class in my VC++ 2005 installation.

How do I communicate over USB using .NET managed classes for simple serial byte oriented communications

Any sample code would be much appreciated.

Thanks, David Harrison



Answer this question

Are there any .NET Classes for simple USB cummunication?

  • Kalcy

    Moving this thread to another forum where they may be able to address this question.

  • WebDunce

    Hello David,
    Unfortunately the .NET Framework does not provide a way for applications to communicate directly with hardware attached to the Universal Serial Bus (USB).

    The following knowledge base (KB) article summarizes the following key points:

    ? Important differences between the USB interface and the serial or parallel interfaces
    ? Why user mode applications cannot directly access a USB device
    ? The basic resources that are required to develop the driver for a newly designed USB device

    http://support.microsoft.com/default.aspx scid=kb;en-us;323594

    I hope this helps.

    Thanks,
    Josh Free
    Base Class Libraries Development


  • Are there any .NET Classes for simple USB cummunication?