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