| DeserializeUnsafe(Stream) |
Deserializes an object in unsafe mode, using the specified stream. Use it only if the XML content is from a safe source.
See the security notes at the Remarks section of the XmlSerializer class for details. |
| DeserializeUnsafe(String) |
Deserializes an object in unsafe mode from the specified file passed in the fileName parameter. Use it only if the XML content is from a safe source.
See the security notes at the Remarks section of the XmlSerializer class for details. |
| DeserializeUnsafe(TextReader) |
Deserializes an object in unsafe mode, using the provided TextReader in the reader parameter. Use it only if the XML content is from a safe source.
See the security notes at the Remarks section of the XmlSerializer class for details. |
| DeserializeUnsafe(XElement) |
Deserializes an XML content to an object in unsafe mode. Use it only if the XML content is from a safe source.
Works for the results of the Serialize(Object, XmlSerializationOptions) method.
See the security notes at the Remarks section of the XmlSerializer class for details. |
| DeserializeUnsafe(XmlReader) |
Deserializes an object in unsafe mode, using the provided XmlReader in the reader parameter. Use it only if the XML content is from a safe source.
See the security notes at the Remarks section of the XmlSerializer class for details. |