Get Storage Card Free Space?

  • Thread starter Thread starter Rampf
  • Start date Start date
R

Rampf

Hello

How can I get the Free Space of a Storage Card in .NET?

I tried to call GetDiskFreeSpaceEx with "\Storage Card" as path, but
sometimes it is returning a negative value?!

Thanks

Rampf
 
Are you sure it's a negative number? Maybe you're just interpreting it as a
signed value, when it's really unsigned. The PULARGE_INTEGER values should
be 'ref unsigned long' in C#...

Paul T.
 
Back
Top