I have created an application that will save lists to a .dat file using a binary formatter and serializing the list. I wish to then de serialize this ...
I have created an application that will save lists to a .dat file using a binary formatter and serializing the list. I wish to then de serialize this ...
I'm adapting a older application written in .NET Framework 4.8 to .NET 6 due to a new version of an API that it uses. There is unchanged logic that se ...
I'm serialized my object and put it in Resources folder in unity. My game should copy this file into Application.persistentDataPath path and Deseriali ...
Microsoft discourages the use of BinaryFormatter because it poses security problems. See: BinaryFormatter Obsoletion Strategy. I have a .NET 6.0 WinF ...
I have a "Save And Quit" Button in my Game. I Made it and it saves the game as intended. Everything works fine, HOWEVER if i then want to close the ga ...
I am trying to make a dropdown that allows you to select different ways to display time. I got it all working except I need to find a way to save and ...
e.g. I want to select a character and save his number on awakening, the number is loaded I tried to divide the data into several parts and one l ...
My project involves capturing desktop frames and sending to a receiving device via a TCP socket for rendering, I want to minimize the latency between ...
TL;DR; My custom [Serializable] class overrides GetHashCode and Equals, so multiple distinct objects can be "equal", and it looks like BinaryFormatte ...
I have migrated a couple of ASP.Net Core 2.2 projects to .Net 5, the last issue I have is that I get a System.NotSupported exception when trying to lo ...
This is a C# project. I am using BinaryFormatter as the serializer and deserializer for my applications. Because there are two application and the ass ...
I was trying to save and load a game but got this error: SerializationException: End of Stream encountered before parsing was completed. System.Ru ...
Microsoft warns against using BinaryFormatter (they write that there is no way to make the de-serialization safe). Applications should stop using ...
I have created a Car class that I am using to store preset serialized versions of Cars with all their various properties and what have you. I have re ...
I'm trying to deep copy some lists. I use the System.Runtime.Serialization to copy the object while it appeared this error: System.ArgumentNullExcepti ...
Is the code below good practice, or is it better to cache BinaryFormatter in a field so it doesn't keep getting re-created? ...
i have a byte array created in c# from object type and then send it over socket protocol to a Node js app, but unable to deserialize the data to reada ...
Before .NET5 we serialize/deserialize the Bytes/Object by these code: private static byte[] StructToBytes<T>(T t) { using (var ...
I need to use a string variable(a guid parameter) and a cookie container in other project and i need to keep theese locally. I am already keep cookie ...
I am getting a Object of type 'Project1.Class1[]' cannot be converted to type 'Project2.Class1[]'.' when trying to take the data from class1 project 1 ...