BinaryFormatter.Deserialize Method

Deserializes a stream into an object graph.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Deserialize(Stream) Deserializes the specified stream into an object graph.
Public method Deserialize(Stream, HeaderHandler) Deserializes the specified stream into an object graph. The provided HeaderHandler handles any headers in that stream.
Top

Security note Security Note

Calling this method with untrusted data is a security risk. Call this method only with trusted data. For more information, see Untrusted Data Security Risks.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft