UsbViewer in C# Get some USB device information via C#. The project is a clone of the Microsoft usbview that is written in C. Usb hubs not supported. The Project is under the The GNU Lesser General Public License version 2.1 (LGPLv2.1).

Project Samples

Project Activity

See All Activity >

Categories

Topic

License

GNU Library or Lesser General Public License version 2.0 (LGPLv2)

Follow UsbViewer in C#

UsbViewer in C# Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
1
0
0
1
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5

User Reviews

  • ....and this is how you fix it on x64 bit platforms. Change this line:- "deviceInterfaceDetailData.cbSize = 4 + Marshal.SystemDefaultCharSize; // trust me :)" to this:- "if (UIntPtr.Size == 8) deviceInterfaceDetailData.cbSize = 8; else deviceInterfaceDetailData.cbSize = (int)(4 + (uint)Marshal.SystemDefaultCharSize);" And this:- "public IntPtr DevInst;" To this:- "public Int32 DevInst;"
    1 user found this review helpful.
  • Works as advertised for x86 32bit platforms, but fails to find devices on x64. This is simply because the calls to the OS are not configured to account for size of pointers vs ints and the effect on structure size, etc. If you make a few patches, it works fine on x64.
    1 user found this review helpful.
  • Great code. It helped me a lot. If you compare the result with the usbview of Microsoft there you can encounter different USB controller order because Microsoft uses the DosDevice name order HCD # to enumerate the controllers but USBSharp uses symlink devicepath order.
Read more reviews >

Additional Project Details

Operating Systems

Windows

User Interface

.NET/Mono

Programming Language

C#

Related Categories

C# Topic Software

Registered

2008-05-09