Microsoft® .NET Compact Framework (Core Reference)
by Andy Wigley, Stephen Wheelwright, Robert Burbidge, Rory MacLoed, Mark Sutton
Chapter 10. Input and Output
The .NET Compact Framework provides powerful features for reading and writing all types of files, from simple text files using character encodings, to pure binary files that must be read as bytes. Features exist for moving the read/write pointer through a file and for copying, moving, and deleting entire files. A file can be an actual file on the local device, a remote file on a network, or an object that is not a file at all, but is simply a stream of bytes either in memory or arriving at a socket or other network connection. You can read and write streams synchronously, where the call you make blocks until the file operation completes. Or, in the case of NetworkStream objects, you can read and write streams asynchronously, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access