如何在C#中使用USB [英] How do Use USB in C#

查看:114
本文介绍了如何在C#中使用USB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,

我想在C#中使用USB端口并从该端口发送和接收数据
请帮帮我
谢谢.

解决方案

[ ^ ]可以帮助您.


尝试
USB和C#[ 解决方案

This[^] could help you out.


Try
USB and C#[^]


You''re trying to treat the USB port the same as a Serial or Parallel port. You can''t. You cannot read/write data to the port itself.

Look at what USB stands for. Universal Serial Bus. It''s no different than the explansion slots in your PC. You talk to the device, not the bus.

You communicate with the device attached through whatever means the device exposes to you. You may need an SDK to get at that device or it may emulate some serial port communications. Without knowing what device you''re trying to get at, it''s impossible to say.


这篇关于如何在C#中使用USB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆