//Write properties method public void InfoWrite() { DataEncrypter MyEncrypter = new DataEncrypter(); StringBuilder strData = GetData(); MyEncrypter.WriteData(_defaultPath, strData); }
//Read properties method public bool InfoRead() { DataEncrypter MyEncrypter = new DataEncrypter(); string strData; if (MyEncrypter.ReadData(_defaultPath) == true) { strData = MyEncrypter.Data; ParseData(strData); return(true); } return(false); }
// private bool FileWriter() { DataEncrypter MyEncrypter = new DataEncrypter(ActualPreferences.Algorithm, ActualPreferences.Key, ActualPreferences.Password); String Path = GetPathToStorage(); StringBuilder strData = GetDataString(); if (MyEncrypter.WriteData(Path, strData) == true) { return(true); } else { return(false); } }
// private void FileReader() { DataEncrypter MyEncrypter = new DataEncrypter(ActualPreferences.Algorithm, ActualPreferences.Key, ActualPreferences.Password); string strData; String Path = GetPathToStorage(); if (MyEncrypter.ReadData(Path) == true) { strData = MyEncrypter.Data; ReadDataString(strData); } else { strData = ""; } }
// private bool FileWriter() { DataEncrypter MyEncrypter = new DataEncrypter(ActualPreferences.Algorithm, ActualPreferences.Key, ActualPreferences.Password); String Path = GetPathToStorage(); StringBuilder strData = GetDataString(); if (MyEncrypter.WriteData(Path, strData) == true) return true; else return false; }
// private void FileReader() { DataEncrypter MyEncrypter = new DataEncrypter(ActualPreferences.Algorithm, ActualPreferences.Key, ActualPreferences.Password); string strData; String Path = GetPathToStorage(); if (MyEncrypter.ReadData(Path) == true) { strData = MyEncrypter.Data; ReadDataString(strData); } else strData = ""; }
//Read properties method public bool InfoRead() { DataEncrypter MyEncrypter = new DataEncrypter(); string strData; if (MyEncrypter.ReadData(_defaultPath) == true) { strData = MyEncrypter.Data; ParseData(strData); return true; } return false; }