MacOSX: USB Stick Info Snippet 0

Posted by yrashk

We’re continuing getting rid of old ideas and projects that we have abandoned (due to lack of time or real interest).

I’m glad to present a C code that Jeff Szuhay has written for us that is intended to return USB stick manufacturer, product name and a serial number, something like:

 
GetManufacturerString("/Volumes/TSONIC") => "Transcend" 
GetProductString("/Volumes/TSONIC") => "T.sonic 610 " 
GetSerialNumber("/Volumes/TSONIC") => "FFFFFFFFFFFFFF"  // fake serial
 

Owning this code is not important for us anymore. Sync2Stick project was abandoned for few monthes now, and I think it is much better to share our minor investments, since they don’t generate any profit for us.

This code is MacOSX-specific. I have found that sometimes it fails to do its job under certain circumstances, but generally it works “just fine” and I hope it will be useful for somebody, at least for learning low-level MacOSX issues.

Download it!

P.S. I would like to recommend Jeff Szuhay as a very experienced Mac developer. However, I’m not sure he is doing freelance currently.

Comments

Leave a response

Comment