Beispiel #1
0
        /// <summary>
        /// Set password of the backup file
        /// </summary>
        /// <param name="password">The password to set to</param>
        /// <returns>True if the password is correct</returns>
        public bool SetPassword(string password)
        {
            mFileInfo = BackupFileInfo.FromFile(mFilePath, password);

            return(!mFileInfo.EncryptedInformation.ValuesAreEmpty());
        }
Beispiel #2
0
 internal BackupFile(string path)
 {
     mPassword = "******";
     mFilePath = path;
     mFileInfo = BackupFileInfo.FromFile(path, mPassword);
 }