Example #1
0
        public void Load()
        {
            try
            {
                string data = ADSFile.Read(this.Path, this.Name);

                if (data.IsNullOrWhiteSpace())
                {
                    Data = new SecureString();
                    return;
                }

                DataRawEncryptedCompressed = data;
            }
            catch (Exception ex)
            {
                Output.WriteException(ex);
            }
        }
Example #2
0
        public void Load()
        {
            try
            {
                string data = ADSFile.Read(this.Path, this.Name);

                if (data.IsNullOrWhiteSpace())
                {
                    Data = null;
                    return;
                }

                Data = data;
            }
            catch (Exception ex)
            {
                Output.WriteException(ex);
            }
        }