Main Site Documentation

VolumeInfo does not provide some data


#1

I have noticed that VolumeInfo does not provide .VolumeLabel and .SerialNumber for memory cards. Serial number is always zero and volume label is always “NO NAME”. I have tried three cards:

  • SanDisk 4 GB microSDXC, FAT32
  • SanDisk 2 GB microSD, FAT16
  • Nokia 512 MB MMC, FAT16

Is there any way to fix this? I am particularly interested in reading serial numbers.


#2

The behavior you observed is correct. Those fields are not currently populated with the actual data.


#3

Is it possible in any way to read serial number?


#4

We do not currently provide a way to get raw access to the card where you could read that data yourself.


#5

If so, I would like to add it as a feature request.


#6

We will look into adding it in a future release.


#7

@ iamin -

Name and Size of Volume class are fixed on 4.3


#8

@ Dat -
Are you talking about VolumeLabel and SerialNumber fields? IIRC, Size and Volume fields were working fine in 4.2.


#9

Size max is 4GB, Volume is alway NO NAME, they were on 4.2. They are correct in 4.3

But why SerialNumber was not in our list? :think:


#10

I see, that’s great news! If it is not very complicated (time consuming), maybe you could consider looking at SerialNumber field while you haven’t totally stopped working with VolumeInfo class.