资源简介
代码片段和文件信息
/*****************************************************************************
* *
* HID USB DRIVER - FLORIAN LEITNER *
* Copyright 2007 - Florian Leitner | http://www.florian-leitner.de *
* mail@florian-leitner.de *
* *
* This file is part of HID USB DRIVER. *
* *
* HID USB DRIVER is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License 3.0 as published by *
* the Free Software Foundation; *
* HID USB DRIVER is distributed in the hope that it will be useful *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License *
* along with this program. If not see . *
* *
******************************************************************************/
//---------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace USBHIDDRIVER
{
///
/// Interface for the HID USB Driver.
///
public class USBInterface
{
private string usbVID;
private string usbPID;
private bool isConnected;
private USB.HIDUSBDevice usbdevice;
//USB LIST BUFFER
///
/// Buffer for incomming data.
///
public static USBHIDDRIVER.List.ListWithEvent usbBuffer = new USBHIDDRIVER.List.ListWithEvent();
///
/// Initializes a new instance of the class.
///
/// The vendor id of the USB device (e.g. vid_06ba)
/// The product id of the USB device (e.g. pid_ffff)
public USBInterface(string vid string pid)
{
this.usbVID = vid;
this.usbPID = pid;
this.usbdevice = new USB.HIDUSBDevice(this.usbVID this.usbPID);
}
///
/// Initializes a new instance of the class.
///
/// The vendor id of the USB device (e.g. vid_06ba).
public USBInterface(string vid)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 925 2007-08-02 14:42 csharp-usb-hid-driver\csharp-usb-hid-driver\Backup\HID USB DRIVER.sln
..A..H. 44032 2007-09-19 17:12 csharp-usb-hid-driver\csharp-usb-hid-driver\Backup\HID USB DRIVER.suo
文件 7302 2007-08-02 15:18 csharp-usb-hid-driver\csharp-usb-hid-driver\Backup\USBHIDDRIVER\Interface.cs
文件 1500 2007-07-27 09:10 csharp-usb-hid-driver\csharp-usb-hid-driver\Backup\USBHIDDRIVER\Properties\AssemblyInfo.cs
文件 4198 2007-08-01 16:52 csharp-usb-hid-driver\csharp-usb-hid-driver\Backup\USBHIDDRIVER\TESTS\TestFixture.cs
文件 6626 2007-08-02 15:18 csharp-usb-hid-driver\csharp-usb-hid-driver\Backup\USBHIDDRIVER\USB\HidDeclarations.cs
文件 28168 2007-08-02 15:18 csharp-usb-hid-driver\csharp-usb-hid-driver\Backup\USBHIDDRIVER\USB\HIDUSBDevice.cs
文件 3587 2007-08-02 15:17 csharp-usb-hid-driver\csharp-usb-hid-driver\Backup\USBHIDDRIVER\USB\ListWithEvent.cs
文件 29958 2007-08-02 15:17 csharp-usb-hid-driver\csharp-usb-hid-driver\Backup\USBHIDDRIVER\USB\USBSharp.cs
文件 2795 2007-08-01 11:44 csharp-usb-hid-driver\csharp-usb-hid-driver\Backup\USBHIDDRIVER\USBHIDDRIVER.csproj
文件 930 2011-02-07 13:50 csharp-usb-hid-driver\csharp-usb-hid-driver\HID USB DRIVER.sln
..A..H. 49664 2011-02-07 17:06 csharp-usb-hid-driver\csharp-usb-hid-driver\HID USB DRIVER.suo
文件 35147 2007-08-02 15:14 csharp-usb-hid-driver\csharp-usb-hid-driver\license.txt
文件 3962 2011-02-07 13:50 csharp-usb-hid-driver\csharp-usb-hid-driver\UpgradeLog.xm
文件 108302 2007-07-27 13:59 csharp-usb-hid-driver\csharp-usb-hid-driver\USBHIDDRIVER\bin\Debug\Coverage.Log
文件 69632 2007-05-03 10:25 csharp-usb-hid-driver\csharp-usb-hid-driver\USBHIDDRIVER\bin\Debug\nunit.fr
文件 294395 2007-05-03 10:25 csharp-usb-hid-driver\csharp-usb-hid-driver\USBHIDDRIVER\bin\Debug\nunit.fr
文件 19456 2011-02-07 17:06 csharp-usb-hid-driver\csharp-usb-hid-driver\USBHIDDRIVER\bin\Debug\USBHIDDRIVER.dll
文件 50688 2011-02-07 17:06 csharp-usb-hid-driver\csharp-usb-hid-driver\USBHIDDRIVER\bin\Debug\USBHIDDRIVER.pdb
文件 11129 2011-02-07 17:06 csharp-usb-hid-driver\csharp-usb-hid-driver\USBHIDDRIVER\bin\Debug\USBHIDDRIVER.xm
文件 2227 2000-12-05 00:57 csharp-usb-hid-driver\csharp-usb-hid-driver\USBHIDDRIVER\bin\Release\doc.css
文件 8534 2000-12-05 00:57 csharp-usb-hid-driver\csharp-usb-hid-driver\USBHIDDRIVER\bin\Release\doc.xsl
文件 69632 2007-05-03 10:25 csharp-usb-hid-driver\csharp-usb-hid-driver\USBHIDDRIVER\bin\Release\nunit.fr
文件 226 2002-07-25 09:53 csharp-usb-hid-driver\csharp-usb-hid-driver\USBHIDDRIVER\bin\Release\readme.txt
文件 18432 2011-02-07 17:06 csharp-usb-hid-driver\csharp-usb-hid-driver\USBHIDDRIVER\bin\Release\USBHIDDRIVER.dll
文件 38400 2011-02-07 17:06 csharp-usb-hid-driver\csharp-usb-hid-driver\USBHIDDRIVER\bin\Release\USBHIDDRIVER.pdb
文件 11129 2011-02-07 17:06 csharp-usb-hid-driver\csharp-usb-hid-driver\USBHIDDRIVER\bin\Release\USBHIDDRIVER.xm
文件 7302 2007-08-02 15:18 csharp-usb-hid-driver\csharp-usb-hid-driver\USBHIDDRIVER\Interface.cs
文件 3370 2011-02-07 17:06 csharp-usb-hid-driver\csharp-usb-hid-driver\USBHIDDRIVER\obj\Debug\ResolveAssemblyReference.cache
文件 794 2011-02-07 17:06 csharp-usb-hid-driver\csharp-usb-hid-driver\USBHIDDRIVER\obj\Debug\USBHIDDRIVER.csproj.FileListAbsolute.txt
............此处省略42个文件信息
- 上一篇:C#通用类基础
- 下一篇:获取本机信息(IP操作系统计算机名)
相关资源
- C# 斑马手持终端WINCE开发 MC32N0 vs2008
- 别踩白块wpf 源码
- 《精通C#数据库开发》源码
- POSTEK二次开发接口
- 力软开发文档
- VSTO对Word的开发教程
- Net Core快速开发框架(支持Swagger API)
- C#开发调用百度地图
- 读写 ic card数据( usb)
- C# USB HIF
- C# usb hid 设备控制
- C# Cad2006二次开发之图形扩展属性读写
- asp.netc#开发规范
- USB HID源码(附文档)
- c# can协议开发
- 关于C#中VCI_BOARD_INFO1结构体与VCI_Find
- 计算器开发源码
- USB读取PID和UID
-
C# 开发BHO(Browser Helper ob
ject)插件 - 手机聊天程序(xamarin开发案例)
- bartender二次开发
- WPF开发串口调试助手
- USBHID通信
- 飞行棋游戏-开发笔记(附源码)
- c#开发的WebFormDesigner
- C#开发 CAD 编程基础
- XenCenter开发
- ASP.NET程序开发范例宝典 百度云
- c#web开发入门经典
- c# 开发与 mysql数据库实现的增删改查
评论
共有 条评论