Chapter 21. Introducing Object Serialization
In Chapter 20, you learned about the functionality provided by the
System.IO namespace and the role of isolated storage (using the types of
System.IO.IsolatedStorage). As shown, these namespaces provide numerous readers and writers that can be used to persist data to a given location (in a given format). This chapter examines the related topic of object serialization. Using object serialization, you are able to persist and retrieve the state of an object to (or from) any
System.IO.Stream-derived type (including the
The ability to serialize types is critical when attempting to copy an object to a remote machine via various remoting technologies such as the .NET remoting ...