Solved

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

Posted on 2008-10-03
5
1,777 Views
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.

Thanks
0
Comment
Question by:mdude2008
5 Comments
 

Author Comment

by:mdude2008
Comment Utility
I am using Visual Studio 2008 .NET 3.5 framework
0
 
LVL 5

Accepted Solution

by:
libin_v earned 250 total points
Comment Utility
0
 
LVL 4

Expert Comment

by:JunnickYso
Comment Utility
0
 

Author Closing Comment

by:mdude2008
Comment Utility
Thanks. I am looking into it.
0
 

Expert Comment

by:andplusdesign
Comment Utility
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?

Thanks,
Sean
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

771 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

12 Experts available now in Live!

Get 1:1 Help Now