How do I find the number of USB ports available, and what their references are.
Example there are 6 USB ports on my motherboard what code would I use to find their reference like, port 1 is called 0 and port 2 is called 1.
I want a user to select a designated port and save the selection to a config file so that whenever the user plugs in a removable diskdrive into that specific port a dialogue box will popup asking the user if they want to backup their designated folder (path will also be saved in config file) to that removable diskdrive.
I know how to do everything like copying the folder to the diskdrive and all that I just need a code snippet to find the system reference to the USB ports.
Animal Mother
8
Light Poster
Recommended Answers
Jump to PostHere is a good reference I used when I did a small project with USB manipulation.
All 4 Replies
Begginnerdev
256
Junior Poster
Animal Mother
8
Light Poster
Begginnerdev
256
Junior Poster
Begginnerdev
256
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.