取USB裝置資訊 3

2021-04-07 05:48:10 字數 3587 閱讀 2091

hardwareid就是了  

[hkey_local_machine/system/currentcontrolset/enum/usbstor/disk&ven_netac&prod_onlydisk&rev_1.11/221d19fd3d8e6261&0]  

"devicedesc"="disk  drive"  

"capabilities"=dword:00000010  

"uinumber"=dword:00000000  

"hardwareid"=hex(7):55,00,53,00,42,00,53,00,54,00,4f,00,52,00,5c,00,44,00,69,    00,73,00,6b,00,4e,00,65,00,74,00,61,00,63,00,5f,00,5f,00,5f,00,4f,00,6e,00,    6c,00,79,00,44,00,69,00,73,00,6b,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,    00,5f,00,31,00,2e,00,31,00,31,00,00,00,55,00,53,00,42,00,53,00,54,00,4f,00,    52,00,5c,00,44,00,69,00,73,00,6b,00,4e,00,65,00,74,00,61,00,63,00,5f,00,5f,    00,5f,00,4f,00,6e,00,6c,00,79,00,44,00,69,00,73,00,6b,00,5f,00,5f,00,5f,00,    5f,00,5f,00,5f,00,5f,00,5f,00,00,00,55,00,53,00,42,00,53,00,54,00,4f,00,52,    00,5c,00,44,00,69,00,73,00,6b,00,4e,00,65,00,74,00,61,00,63,00,5f,00,5f,00,    5f,00,00,00,55,00,53,00,42,00,53,00,54,00,4f,00,52,00,5c,00,4e,00,65,00,74,    00,61,00,63,00,5f,00,5f,00,5f,00,4f,00,6e,00,6c,00,79,00,44,00,69,00,73,00,    6b,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,31,00,00,00,4e,00,65,    00,74,00,61,00,63,00,5f,00,5f,00,5f,00,4f,00,6e,00,6c,00,79,00,44,00,69,00,    73,00,6b,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,31,00,00,00,55,    00,53,00,42,00,53,00,54,00,4f,00,52,00,5c,00,47,00,65,00,6e,00,44,00,69,00,    73,00,6b,00,00,00,47,00,65,00,6e,00,44,00,69,00,73,00,6b,00,00,00,00,00  

"compatibleids"=hex(7):55,00,53,00,42,00,53,00,54,00,4f,00,52,00,5c,00,44,00,    69,00,73,00,6b,00,00,00,55,00,53,00,42,00,53,00,54,00,4f,00,52,00,5c,00,52,    00,41,00,57,00,00,00,00,00  

"service"="disk"  

"classguid"=""  

"configflags"=dword:00000000  

"parentidprefix"="7&66a18cb&1"  

"driver"="//0003"  

"class"="diskdrive"  

"mfg"="(standard  disk  drives)"  

"friendlyname"="netac  onlydisk  usb  device"  

[hkey_local_machine/system/currentcontrolset/enum/usbstor/disk&ven_____&prod______&rev_4.00/1f3312000265&0]  

"devicedesc"="disk  drive"  

"capabilities"=dword:00000010  

"uinumber"=dword:00000000  

"hardwareid"=hex(7):55,00,53,00,42,00,53,00,54,00,4f,00,52,00,5c,00,44,00,69,    00,73,00,6b,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,    5f,00,5f,00,5f,00,5f,00,5f,00,34,00,2e,00,30,00,30,00,00,00,55,00,53,00,42,    00,53,00,54,00,4f,00,52,00,5c,00,44,00,69,00,73,00,6b,00,5f,00,5f,00,5f,00,    5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,00,    00,55,00,53,00,42,00,53,00,54,00,4f,00,52,00,5c,00,44,00,69,00,73,00,6b,00,    5f,00,5f,00,5f,00,5f,00,00,00,55,00,53,00,42,00,53,00,54,00,4f,00,52,00,5c,    00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,    5f,00,5f,00,5f,00,34,00,00,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,    00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,34,00,00,00,55,00,53,00,42,00,    53,00,54,00,4f,00,52,00,5c,00,47,00,65,00,6e,00,44,00,69,00,73,00,6b,00,00,    00,47,00,65,00,6e,00,44,00,69,00,73,00,6b,00,00,00,00,00  

"compatibleids"=hex(7):55,00,53,00,42,00,53,00,54,00,4f,00,52,00,5c,00,44,00,    69,00,73,00,6b,00,00,00,55,00,53,00,42,00,53,00,54,00,4f,00,52,00,5c,00,52,    00,41,00,57,00,00,00,00,00  

"service"="disk"  

"classguid"=""  

"configflags"=dword:00000000  

"parentidprefix"="7&37a5937&1"  

"driver"="//0000"  

"class"="diskdrive"  

"mfg"="(standard  disk  drives)"  

"friendlyname"="神州數碼  移動數碼盤  usb  device"  

上述**支援2000或以上系統有效  

android 獲取usb 裝置資訊

1.使用者需要獲取usb 裝置名,來判斷是不是我方的印表機 2.public string getproductname catch exception e logger.i manufacturer manufacturer n logger.i product product n logger....

C 獲得裝置usb資訊

需要在專案右擊引用,點選程式集,搜尋 system.management 然後安裝他 然後使用下面的 就可以獲得裝置的 usb 請看 static list getusbdevices foreach var device in collection collection.dispose retur...

Linux 如何檢視USB裝置資訊

方法一 在 etc init.d rcs中新增mount t usbfs none proc bus usb.方法二 在shell中輸入mount t usbfs proc bus usb proc bus usb.前提是在編譯核心時選中usb device filesystem。cat proc ...

Ubuntu下檢視usb裝置資訊

ubuntu下檢視usb裝置資訊 新來了一個usb 裝置,飛天的加密狗.怎樣來熟悉它?插上硬體 1.用dmesg 看看核心說什麼?1738.688160 usb 1 1.2 new full speed usb device number 8 using ehci pci 1738.798968 u...

2018 2 13 C 獲得裝置usb資訊

title author date createtime categories c 獲得裝置usb資訊 lindexi 2018 2 13 17 23 3 0800 2018 2 13 17 23 3 0800 c 需要在專案右擊引用,點選程式集,搜尋 system.management 然後安裝他...