5. Storage

In this chapter, we examine the .NET Compact Framework’s capabilities for accessing local storage, concentrating on file I/O and registry access.

5.1 Smart-Device Data Storage

STORAGE IS AN AREA where Windows CE–powered devices and desktop systems differ significantly. The differences are unseen at the API level, and indeed a common set of APIs—both native and managed—work in both environments. To see the differences, you need to dig down below the level of the programming interfaces.

One difference involves the storage media. Desktop systems rely on rotating disk drives for storage, while Windows Mobile stores data in semiconductor-based storage devices. Among the benefits are performance and durability. Semiconductors allow faster ...

Get Programming .NET Compact Framework 3.5 Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.