![]() ![]()
MSFT: Please just document what is done inside the GetVolumeInformation() Win32 function to the more-than-32-bit string of digits reported by the card (my card gets 12 hex digits), to generate the 32-bit ID which GetVolumeInformation returns.įor copy protection, our distributers need to generate SD cards with data encoded to the SD Card Serial number. We still need a way to get the same number in both PocketPC and Win32 - I don't care if it's been hashed into 32-bit number, as long as the same number is found under both platforms. The WMI method finds exactly the same serial number as just running `dir f:\` from a command prompt, which is the same result as using the Win32 API function GetVolumeInformation(). For the same card, this VS2005 method gets 0xfc303da9 (8 hex digits), and the program for the PDA gets manufacturer ID 0x1C, serial number 0x000003A71B (2 manufacturer digits, and 10 serial number digits) In addition, when trying this, I find that it still does not report the same information as the above-discussed methods for finding the SD serial number on the PocketPC. we are interested in doing it with C and the Win32 API - and most importantly, getting the same values both from PocketPC C and from Win32 C . We are _not_ looking for an application capable of telling us the serial number, nor for a C# or VB method of doing this. #Sd card serial number windows xp3 how to#except that maybe I can dig around to see how to talk to WMI from C . If someone at Microsoft reads this and wants to track it down for those of us trying it, I have example code projects available for both PC and PocketPC that could be used to verify that my claims are true.Īgain, not helpful. However, this will not be possible unless I can get a "unique" value for the SD card serial number, that is the same whether queried by a PC or a PocketPC. #Sd card serial number windows xp3 install#Like the original poster, I would like to install software on an SD card that has its own activation key, such that it will only run from the SD card. I'm guessing they do some kind of hash of the manufacturer ID AND serial number, which on the SD Card I tried totalled 10 hex digits under the PocketPC (rather than the 8 that appear for a DWORD serial number in GetVolumeInformation) Microsoft ought to publish any extra steps that might be taken within the GetVolumeInformation() Win32 call to come up with a serial number. I view this as a Microsoft BUG, because there really is a serial number in these SD cards, and these two routines under different Microsoft operating systems purport to give the serial number - but they do not match. #Sd card serial number windows xp3 drivers#(yes, I tried the same SD card both places) Instala los drivers para SUNIX 2-Port Serial Card para Windows XP x86, o descarga el software DriverPack Solution para una instalacin y actualizacin de drivers automtica. I've been trying to do the same thing as the original poster, however, the GetVolumeInformation under Win32 does NOT return the same number as the DeviceIoControl(.GET_STORAGEID) does under a PocketPC. ![]() There is a way to get a serial number of a disk under Win32 C/C , using GetVolumeInformation. The above answer from someone at MSFT is not helpful. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |