Saving an instance/image/snapshot of your application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gjsonke
    New Member
    • Jul 2007
    • 2

    Saving an instance/image/snapshot of your application

    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
Working...