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
Simplify IT and security with a single endpoint management platform Icon
Simplify IT and security with a single endpoint management platform

Automate the hardest parts of IT

NinjaOne automates the hardest parts of IT, delivering visibility, security, and control over all endpoints for more than 20,000 customers. The NinjaOne automated endpoint management platform is proven to increase productivity, reduce security risk, and lower costs for IT teams and managed service providers. The company seamlessly integrates with a wide range of IT and security technologies. NinjaOne is obsessed with customer success and provides free and unlimited onboarding, training, and support.
Learn More
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