<?xml version="1.0"?>
<doc>
<assembly>
<name>UsbLibrary</name>
</assembly>
<members>
<member name="T:UsbLibrary.Report">
<summary>
Base class for report types. Simply wraps a byte buffer.
</summary>
</member>
<member name="F:UsbLibrary.Report.m_arrBuffer">
<summary>Buffer for raw report bytes</summary>
</member>
<member name="F:UsbLibrary.Report.m_nLength">
<summary>Length of the report</summary>
</member>
<member name="M:UsbLibrary.Report.#ctor(UsbLibrary.HIDDevice)">
<summary>
Constructor
</summary>
<param name="oDev">Constructing device</param>
</member>
<member name="M:UsbLibrary.Report.SetBuffer(System.Byte[])">
<summary>
Sets the raw byte array.
</summary>
<param name="arrBytes">Raw report bytes</param>
</member>
<member name="P:UsbLibrary.Report.Buffer">
<summary>
Accessor for the raw byte buffer
</summary>
</member>
<member name="P:UsbLibrary.Report.BufferLength">
<summary>
Accessor for the buffer length
</summary>
</member>
<member name="T:UsbLibrary.OutputReport">
<summary>
Defines a base class for output reports. To use output reports, just put the bytes into the raw buffer.
</summary>
</member>
<member name="M:UsbLibrary.OutputReport.#ctor(UsbLibrary.HIDDevice)">
<summary>
Construction. Setup the buffer with the correct output report length dictated by the device
</summary>
<param name="oDev">Creating device</param>
</member>
<member name="T:UsbLibrary.InputReport">
<summary>
Defines a base class for input reports. To use input reports, use the SetData method and override the
ProcessData method.
</summary>
</member>
<member name="M:UsbLibrary.InputReport.#ctor(UsbLibrary.HIDDevice)">
<summary>
Construction. Do nothing
</summary>
<param name="oDev">Creating device</param>
</member>
<member name="M:UsbLibrary.InputReport.SetData(System.Byte[])">
<summary>
Call this to set the buffer given a raw input report. Calls an overridable method to
should automatically parse the bytes into meaningul structures.
</summary>
<param name="arrData">Raw input report.</param>
</member>
<member name="M:UsbLibrary.InputReport.ProcessData">
<summary>
Override this to process the input report into something useful
</summary>
</member>
<member name="T:UsbLibrary.Win32Usb">
<summary>
Class that wraps USB API calls and structures.
</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.WM_DEVICECHANGE">
<summary>Windows message sent when a device is inserted or removed</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.DEVICE_ARRIVAL">
<summary>WParam for above : A device was inserted</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.DEVICE_REMOVECOMPLETE">
<summary>WParam for above : A device was removed</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.DIGCF_PRESENT">
<summary>Used in SetupDiClassDevs to get devices present in the system</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.DIGCF_DEVICEINTERFACE">
<summary>Used in SetupDiClassDevs to get device interface details</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.DEVTYP_DEVICEINTERFACE">
<summary>Used when registering for device insert/remove messages : specifies the type of device</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.DEVICE_NOTIFY_WINDOW_HANDLE">
<summary>Used when registering for device insert/remove messages : we're giving the API call a window handle</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.PURGE_TXABORT">
<summary>Purges Win32 transmit buffer by aborting the current transmission.</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.PURGE_RXABORT">
<summary>Purges Win32 receive buffer by aborting the current receive.</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.PURGE_TXCLEAR">
<summary>Purges Win32 transmit buffer by clearing it.</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.PURGE_RXCLEAR">
<summary>Purges Win32 receive buffer by clearing it.</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.GENERIC_READ">
<summary>CreateFile : Open file for read</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.GENERIC_WRITE">
<summary>CreateFile : Open file for write</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.FILE_SHARE_WRITE">
<summary>CreateFile : file share for write</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.FILE_SHARE_READ">
<summary>CreateFile : file share for read</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.FILE_FLAG_OVERLAPPED">
<summary>CreateFile : Open handle for overlapped operations</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.OPEN_EXISTING">
<summary>CreateFile : Resource to be "created" must exist</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.OPEN_ALWAYS">
<summary>CreateFile : Resource will be "created" or existing will be used</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.ERROR_IO_PENDING">
<summary>ReadFile/WriteFile : Overlapped operation is incomplete.</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.INFINITE">
<summary>Infinite timeout</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.NullHandle">
<summary>Simple representation of a null handle : a closed stream will get this handle. Note it is public for comparison by higher level classes.</summary>
</member>
<member name="F:UsbLibrary.Win32Usb.InvalidHandleValue">
<summary>Simple representation of the handle returned when CreateFile fails.</summary>
</member>
<member name="M:UsbLibrary.Win32Usb.HidD_GetHidGuid(System.Guid@)">
<summary>
Gets the GUID that Windows uses to represent HID class devices
</summary>
<param name="gHid">An out parameter to take the Guid</param>
</member>
<member name="M:UsbLibrary.Win32Usb.SetupDiGetClassDevs(System.Guid@,System.String,System.IntPtr,System.UInt32)">
<summary>
Allocates an InfoSet memory block within Windows that contains details of devices.
</summary>
<param name="gClass">Class guid (e.g. HID guid)</param>
<param name="strEnumerator">Not used</param>
<param name="hParent">Not used</param>
<param name="nFlags">Type of device details required (DIGCF_ constants)</param>
<returns>A reference to the InfoSet</returns>
</member>
<member name="M:UsbLibrary.Win32Usb.SetupDiDestroyDeviceInfoList(System.IntPtr)">
<summary>
Frees InfoSet allocated in call to above.
</summary>
没有合适的资源?快使用搜索试试~ 我知道了~
C#hid测试可用例子
![preview](https://csdnimg.cn/release/downloadcmsfe/public/img/white-bg.ca8570fa.png)
共30个文件
cs:15个
xml:2个
exe:2个
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
![star](https://csdnimg.cn/release/downloadcmsfe/public/img/star.98a08eaa.png)
温馨提示
你还别嫌弃它贵,呵呵,关键是这种资源少,通过验证能用的资源就更少了,这个东西在两三个银行用外部标准接口的硬件设备(如柜外清,条码识别,及指纹识别)测试通过了,关键是已经封装成了一个C#的控件,别再用那writefile了,好痛苦。
资源推荐
资源详情
资源评论
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
收起资源包目录
![package](https://csdnimg.cn/release/downloadcmsfe/public/img/package.f3fc750b.png)
![folder](https://csdnimg.cn/release/downloadcmsfe/public/img/folder.005fa2e5.png)
![folder](https://csdnimg.cn/release/downloadcmsfe/public/img/folder.005fa2e5.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![folder](https://csdnimg.cn/release/downloadcmsfe/public/img/folder.005fa2e5.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![folder](https://csdnimg.cn/release/downloadcmsfe/public/img/folder.005fa2e5.png)
![folder](https://csdnimg.cn/release/downloadcmsfe/public/img/folder.005fa2e5.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/EXE.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/EXE.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![folder](https://csdnimg.cn/release/downloadcmsfe/public/img/folder.005fa2e5.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![folder](https://csdnimg.cn/release/downloadcmsfe/public/img/folder.005fa2e5.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/BMP.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![folder](https://csdnimg.cn/release/downloadcmsfe/public/img/folder.005fa2e5.png)
![folder](https://csdnimg.cn/release/downloadcmsfe/public/img/folder.005fa2e5.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![folder](https://csdnimg.cn/release/downloadcmsfe/public/img/folder.005fa2e5.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
共 30 条
- 1
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
- 酷恒2014-05-21不错的资源,但在vs2010下编译有点问题,不影响使用.
- 倔强的铜钱草2014-09-10不值得,花费10分, 编译出来的界面都异常。
![avatar](https://profile-avatar.csdnimg.cn/default.jpg!1)
etimeman
- 粉丝: 0
- 资源: 33
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)