Does anyone know how to read the current free storage memory on the device
for Windows Mobile 5.0 in the .Net Compact FrameWork 2.0? I need to know how
much free space there is when an application boots.
Thanks!
Mark Arteaga - 20 Jan 2006 18:51 GMT
P/Invoke GetDiskFreeSpaceEx. This should give you all the info you need.
HTH
________________________________________
Mark Arteaga
.NET Compact Framework MVP
http://www.opennetcf.com | http://blog.markarteaga.com
> Does anyone know how to read the current free storage memory on the
> device for Windows Mobile 5.0 in the .Net Compact FrameWork 2.0? I
> need to know how much free space there is when an application boots.
>
> Thanks!
Ilya Tumanov [MS] - 20 Jan 2006 19:45 GMT
You could P/Invoke GetDiskFreeSpaceEx() for that.

Signature
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
*** Want to find answers instantly? Here's how... ***
1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactfra
mework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
> Does anyone know how to read the current free storage memory on the device
> for Windows Mobile 5.0 in the .Net Compact FrameWork 2.0? I need to know
> how
> much free space there is when an application boots.
>
> Thanks!