How can I find the amount of CF remaining?

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

Using a SQLCE database for an application, I want to force the
application to compact the database prior to the remaining memory
hitting a predefined threshold. How can I programmatically determine
how much space is left on a compact flash card, and how much overall
memory is remaining?

Thanks in advance...
Jeff
 
Hello, Jeff

You can try OpenNETCF Smart Device Framework v1.2.
There are following namespace to use..
OpenNETCF.Core.MemoryStatus
OpenNETCF.StorageCard.DiskFreeSpace

--

Best Regards,

Jan Yeh
MVP - Windows CE.NET, MCSD.NET, .NETcf consultant
http://blog.mvpcn.net/janyeh
 

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

Back
Top