Corgi Engine  v9.2
MoreMountains.Tools.MMSaveLoadManagerMethodBinaryEncrypted Class Reference

This save load method saves and loads files as encrypted binary files More...

Inheritance diagram for MoreMountains.Tools.MMSaveLoadManagerMethodBinaryEncrypted:
MoreMountains.Tools.MMSaveLoadManagerEncrypter MoreMountains.Tools.IMMSaveLoadManagerMethod

Public Member Functions

void Save (object objectToSave, FileStream saveFile)
 Saves the specified object to disk at the specified location after encrypting it More...
 
object Load (System.Type objectType, FileStream saveFile)
 Loads the specified file from disk, decrypts it, and deserializes it More...
 

Additional Inherited Members

- Protected Member Functions inherited from MoreMountains.Tools.MMSaveLoadManagerEncrypter
virtual void Encrypt (Stream inputStream, Stream outputStream, string sKey)
 Encrypts the specified input stream into the specified output stream using the key passed in parameters More...
 
virtual void Decrypt (Stream inputStream, Stream outputStream, string sKey)
 Decrypts the input stream into the output stream using the key passed in parameters More...
 
- Protected Attributes inherited from MoreMountains.Tools.MMSaveLoadManagerEncrypter
string _saltText = "SaltTextGoesHere"
 
- Properties inherited from MoreMountains.Tools.MMSaveLoadManagerEncrypter
virtual string Key = "yourDefaultKey" [get, set]
 The Key to use to save and load the file More...
 

Detailed Description

This save load method saves and loads files as encrypted binary files

Member Function Documentation

◆ Load()

object MoreMountains.Tools.MMSaveLoadManagerMethodBinaryEncrypted.Load ( System.Type  objectType,
FileStream  saveFile 
)

Loads the specified file from disk, decrypts it, and deserializes it

Parameters
objectType
saveFile
Returns

Implements MoreMountains.Tools.IMMSaveLoadManagerMethod.

◆ Save()

void MoreMountains.Tools.MMSaveLoadManagerMethodBinaryEncrypted.Save ( object  objectToSave,
FileStream  saveFile 
)

Saves the specified object to disk at the specified location after encrypting it

Parameters
objectToSave
saveFile

Implements MoreMountains.Tools.IMMSaveLoadManagerMethod.


The documentation for this class was generated from the following file: