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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Close form "before" open 3 39
How to join on ID, with prefix? 15 58
Jquery/JSON passing value from one function to another 12 33
C# winforms programmitically move panels 6 26
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

815 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

11 Experts available now in Live!

Get 1:1 Help Now