コード例 #1
0
ファイル: Data.cs プロジェクト: jeason0813/Asmodat
        public void Delete()
        {
            this.Clear();

            try
            {
                ADSFile.Write("", this.Path, this.Name);
            }
            catch (Exception ex)
            {
                Output.WriteException(ex);
            }
        }
コード例 #2
0
ファイル: Data.cs プロジェクト: jeason0813/Asmodat
        public void Save()
        {
            try
            {
                if (Data.IsNullOrWhiteSpace())
                {
                    return;
                }


                ADSFile.Write(DataRawEncryptedCompressed, this.Path, this.Name);
            }
            catch (Exception ex)
            {
                Output.WriteException(ex);
            }
        }