Get serial number of storage card

  • Thread starter Thread starter Christian Dupuis
  • Start date Start date
C

Christian Dupuis

Hello everybody,

i'm currently developing a small application using CF C#
and P/Invoke.
There is one thing I can't put to work: I want to read the
serial
number of an installed storage card (SD-Card) by using
DeviceIoControl and IOCTL_DISK_GET_STORAGEID. Actually I
don't find
any sample on how to use the DeviveIoControl Method from
managed code.

Does anybody have an idea on where to start or a working
sample?
Any help is greatly appreiated.

Thanks in advance.
Christian
 
Back
Top