Get Storage Card Free Space?

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
 
P

Paul G. Tobey [eMVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top