usb-drive

USB-drive serial number under linux C++

混江龙づ霸主 提交于 2019-11-30 02:24:13
Is there any way to determine s/n of usb-drive in linux using C++ ? If not C++ is there any other way different from hwinfo -disk and hdparm -i ? clyfe I'll try to summarize my experience regarding storage drive serial number retrieval on linux. I assume you want the serial number of the storage device identity (as per SCSI specification) not the serial number of the USB device (as per USB specification under Device Descriptor ), these two are different entities. NOTICE! Most devices tend to implement a serial number in the USB-Controller and leave the serial number of the inner SCSI-disk

Read USB Device Serial number in C#

荒凉一梦 提交于 2019-11-30 01:01:29
Is there a way to read USB device serial number and data in a text file in USB using visual studio 2005? Try this: USBSerialNumber usb = new USBSerialNumber(); string serial = usb.getSerialNumberFromDriveLetter("f:\"); MessageBox.Show(serial); Here's the internals for the USBSerialNumber class: using System; using System.Collections.Generic; using System.Text; using System.Management; namespace USBDriveSerialNumber { public class USBSerialNumber { string _serialNumber; string _driveLetter; public string getSerialNumberFromDriveLetter(string driveLetter) { this._driveLetter = driveLetter

What development tools do you carry on your USB drive? [closed]

三世轮回 提交于 2019-11-29 18:34:04
I've just bought a new 4GB USB thumb drive and I'm trying to decide what to put on it. I'm thinking about one of the webserver on a stick packages, a C/C++ IDE (leaning toward Code::Blocks; had Dev-C++ on my old USB drive) and Python. What development related tools do you carry around with you on yours? Update I've added categories. IDEs Code::Blocks Open source, cross platform C/C++ IDE Supports several compilers (that you must supply) but you can also download a version that includes MingW. (There's a FAQ question on their website explaining how to make it portable) Codelite -- Open-source,

Installing the Android USB Driver in Windows 7 [closed]

断了今生、忘了曾经 提交于 2019-11-29 11:06:16
问题 I am attempting to install the Android USB Driver in my computer running on Windows 7. I followed the instructions in the developer section of the website, but I am stuck. Here is the website with the instructions; http://developer.android.com/tools/extras/oem-usb.html#Win7 What I am having trouble with is in step 7-8, when I click next after selecting the path <sdk>/extras/google/usb_driver under where I enter the location. I get an error message that says "Windows could not find driver

Can Visual Studio Express run from USB drive?

家住魔仙堡 提交于 2019-11-29 07:58:55
Using an arbitrary Windows machine (2000/XP or later), I can install Eclipse CDT to a USB drive move that USB drive onto a different Windows machine--one that does not have any form of Eclipse software already installed, and potentially a different version of Windows (but 2000/XP or later) use Eclipse to develop application-level C/C++ programs on that second machine (and that includes using the debugger), running directly from the USB drive without copying anything to C:. I can do all this without having Administrator privileges on either machine. I can do the same with NetBeans, and with

USB-drive serial number under linux C++

拜拜、爱过 提交于 2019-11-28 23:17:30
问题 Is there any way to determine s/n of usb-drive in linux using C++ ? If not C++ is there any other way different from hwinfo -disk and hdparm -i ? 回答1: I'll try to summarize my experience regarding storage drive serial number retrieval on linux. I assume you want the serial number of the storage device identity (as per SCSI specification) not the serial number of the USB device (as per USB specification under Device Descriptor ), these two are different entities. NOTICE! Most devices tend to

C++ and Lua from USB [closed]

a 夏天 提交于 2019-11-28 10:53:19
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 years ago . So about 2 weeks ago, I started learning C++ and Lua, and I would like to be able to: compile C++ code (it would be a nice bonus if i could have a C compiler as well, as that's next on my list of languages to learn) interpret (is that correct terminology?) Lua, and do all of

Get notification when a new drive is connected via USB or other means (C#)

不打扰是莪最后的温柔 提交于 2019-11-28 07:34:31
问题 I need to detect when a new drive is plugged into a Windows system through a USB port, firewire port, etc. I am aware of the WM_DEVICECHANGE message, but this requires a window to be open in order to use it. Is there a way to create a background process in C# that detects when new drives are plugged in? Background info: I am wanting to write this app to remove a worm from company removable drives. Regular antivirus software is failing to removing it. We have a script that will remove the worm

Version control on a 2GB USB drive

谁说胖子不能爱 提交于 2019-11-28 03:06:23
For my school work, I do a lot of switching computers (from labs to my laptop to the library). I'd kind of like to put this code under some kind of version control. Of course the problem is that I can't always install additional software on the computers I use. Is there any kind of version control system that I can keep on a thumb drive? I have a 2GB drive to put this on, but I can get a bigger one if necessary. The projects I'm doing aren't especially big FYI. EDIT: This needs to work under windows. EDIT II: Bazaar ended up being what I chose. It's even better if you go with TortoiseBzr. You

Can Visual Studio Express run from USB drive?

删除回忆录丶 提交于 2019-11-28 01:44:47
问题 Using an arbitrary Windows machine (2000/XP or later), I can install Eclipse CDT to a USB drive move that USB drive onto a different Windows machine--one that does not have any form of Eclipse software already installed, and potentially a different version of Windows (but 2000/XP or later) use Eclipse to develop application-level C/C++ programs on that second machine (and that includes using the debugger), running directly from the USB drive without copying anything to C:. I can do all this