BinaryFormatter.Serialize Method (Stream, Object, Header)
Serializes the object, or graph of objects with the specified top (root), to the given stream attaching the provided headers.
Assembly: mscorlib (in mscorlib.dll)
The stream to which the object is to be serialized.
The object at the root of the graph to serialize.
Remoting headers to include in the serialization. Can be null.
The serialization process includes the information supplied in the headers parameter at the front of the serialized stream.
Headers are used only for specific remoting applications.
Available since 1.1