Code Monkey home page Code Monkey logo

getconnectedusb's Introduction

Get connected USB

What does this thing do?

Detects USB peripheral devices inserted or removed after starting this programme,
printing the information of these devices on the screen.

Example output:

Availability:
Caption: Dispositivo di archiviazione di massa USB
ClassCode:
ConfigManagerErrorCode: 0
ConfigManagerUserConfig: False
CreationClassName: Win32_USBHub
CurrentAlternateSettings:
CurrentConfigValue:
Description: Dispositivo di archiviazione di massa USB
DeviceID: USB\VID_23A9&PID_EF18\6&2DEEA478&0&5
ErrorCleared:
ErrorDescription:
GangSwitched:
InstallDate:
LastErrorCode:
Name: Dispositivo di archiviazione di massa USB
NumberOfConfigs:
NumberOfPorts:
PNPDeviceID: USB\VID_23A9&PID_EF18\6&2DEEA478&0&5
PowerManagementCapabilities:
PowerManagementSupported:
ProtocolCode:
Status: OK
StatusInfo:
SubclassCode:
SystemCreationClassName: Win32_ComputerSystem
SystemName: DESKTOP-100E04S
USBVersion:

Versions

Microsoft Visual Studio Community 2019
Versione 16.10.1
VisualStudio.16.Release/16.10.1+31402.337
Microsoft .NET Framework
Versione 4.8.04084

Edizione installata: Community

Visual C++ 2019   00435-60000-00000-AA167
Microsoft Visual C++ 2019

TODO

  • prints USB key info when it is inserted into the PC;

  • prints USB key info when it is removed from the PC;

  • print the USB keys already inserted in the PC.

Credits

Thanks dtwk2 for your UsbDetector gist.

getconnectedusb's People

Contributors

elmazzun avatar

Watchers

James Cloos avatar  avatar

Forkers

t-jones14

getconnectedusb's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.