How to communicate with a device over USB from C# desktop application

Posted on 2008-10-03
Last Modified: 2013-11-26
Hi All
1)I want to communicate with device send data to device/read data from device over USB port using C# desktop application. I have been using SerialPort from C# application and it is pretty simple. I do not know how different it would be for USB port.
2)Now I want to switch my code from communicating to a device via serial port to USB port. Do I need any additional dll/driver/library etc in order to do that.

Question by:mdude2008

Author Comment

ID: 22633793
I am using Visual Studio 2008 .NET 3.5 framework

Accepted Solution

libin_v earned 250 total points
ID: 22634082

Expert Comment

ID: 22637140

Author Closing Comment

ID: 31502742
Thanks. I am looking into it.

Expert Comment

ID: 34420922
I found all of these resources / links online as well - but they did not help me get Visual Studio applications communicating (or even finding) USB devices.  

I'd be happy if I could even proof-of-concept a connection to any obvious USB peripheral on my Windows 7 machine - does anyone have any suggestions which are code-specific?


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need help on C# Linq query on object 6 53
ASP.NET 5 Templates 2 66
Write to file when application closes (by logoff) - VB.NET 1 21
Finally almost got it 5 20
In my previous two articles we discussed Binary Serialization ( and XML Serialization ( In this article we will try to know more about SOAP (Simple Object Acces…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now