Пример #1
0
        public void Save(string file)
        {
            BackupDate = System.DateTime.Now;
            MemoryStream    ms    = new MemoryStream();
            BinaryFormatter bf    = new BinaryFormatter();
            object          clone = this.MemberwiseClone();

            bf.Serialize(ms, clone);
            Streams.MemoryStreamToFile(ms, file);
        }