XmlSerializerDeserializeUnsafe(TextReader) Method
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.
Namespace: KGySoft.Serialization.XmlAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.5.0
public static Object? DeserializeUnsafe(
TextReader reader
)
Public Shared Function DeserializeUnsafe (
reader As TextReader
) As Object
public:
static Object^ DeserializeUnsafe(
TextReader^ reader
)
static member DeserializeUnsafe :
reader : TextReader -> Object
- reader TextReader
- A TextReader object to be used for the deserialization. The reader is not closed after the deserialization.
ObjectThe deserialized object.