Hi,
I am currently building various apps in C# and I am constantly finding myself figeting with BinaryWriter or StreamWriter routines... which works fine but gets a little tedious. So now I was wondering:
At a certain point my app is up and running; all variables are piled up in memory.
Q: Is there a way that I can just make a snapshot of the whole application at any given moment, incl all variables etc, and then save this to file, so that I can open the file later and reload it and continue from where I left off? I guess it is similar to what happens when you put your PC on standby.
I wonder if something like this is possible. This would save me a lot of time having to write save file routines.
cheers - Gj
I am currently building various apps in C# and I am constantly finding myself figeting with BinaryWriter or StreamWriter routines... which works fine but gets a little tedious. So now I was wondering:
At a certain point my app is up and running; all variables are piled up in memory.
Q: Is there a way that I can just make a snapshot of the whole application at any given moment, incl all variables etc, and then save this to file, so that I can open the file later and reload it and continue from where I left off? I guess it is similar to what happens when you put your PC on standby.
I wonder if something like this is possible. This would save me a lot of time having to write save file routines.
cheers - Gj