Changeset 1602


Ignore:
Timestamp:
Jun 8, 2010, 11:44:11 AM (12 years ago)
Author:
saternus
Message:

mod. binaryformatter

Location:
trunk/CrypPlugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/P2PEditor/Distributed/JobListManager.cs

    r1579 r1602  
    4040
    4141            var bformatter = new BinaryFormatter();
     42            bformatter.AssemblyFormat = System.Runtime.Serialization.Formatters.FormatterAssemblyStyle.Simple;
    4243            return (List<DistributedJob>) bformatter.Deserialize(memoryStream);
    4344        }
     
    5859            var memoryStream = new MemoryStream();
    5960            var bformatter = new BinaryFormatter();
     61            bformatter.AssemblyFormat = System.Runtime.Serialization.Formatters.FormatterAssemblyStyle.Simple;
    6062
    6163            bformatter.Serialize(memoryStream, currentJobList);
     
    8688            var memoryStream = new MemoryStream();
    8789            var bformatter = new BinaryFormatter();
     90            bformatter.AssemblyFormat = System.Runtime.Serialization.Formatters.FormatterAssemblyStyle.Simple;
    8891
    8992            bformatter.Serialize(memoryStream, currentJobList);
  • trunk/CrypPlugins/QuadraticSieve/PeerToPeer.cs

    r1575 r1602  
    265265                memstream.Position = 0;
    266266                BinaryFormatter bformatter = new BinaryFormatter();
     267                bformatter.AssemblyFormat = System.Runtime.Serialization.Formatters.FormatterAssemblyStyle.Simple;
    267268                try
    268269                {
     
    283284                MemoryStream memstream = new MemoryStream();
    284285                BinaryFormatter bformatter = new BinaryFormatter();
     286                bformatter.AssemblyFormat = System.Runtime.Serialization.Formatters.FormatterAssemblyStyle.Simple;
    285287                bformatter.Serialize(memstream, factorManager);
    286288                P2PManager.Store(FactorListIdentifier(), memstream.ToArray());
Note: See TracChangeset for help on using the changeset viewer.