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
 
Back
Top