NetDataContractSerializer.Deserialize Method (Stream)
Deserializes an XML document or stream into an object.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
This method assumes the default format is text XML.
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.
Available since 3.0