/// <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()); }
internal BackupFile(string path) { mPassword = "******"; mFilePath = path; mFileInfo = BackupFileInfo.FromFile(path, mPassword); }