public bool WriteChanges() { Psd.Login(LoginPass); Psd.WriteKeys(Base.BTKey, Base.HBTKey); var psdConverted = GetPreparedPasswords(Base.Passwords); int wrote = Psd.WritePasswords(psdConverted); return(wrote == psdConverted.Count()); }
public bool WriteChanges() { if (!Psd.Login(LoginPass)) { return(false); } Psd.WriteKeys(Base.BTKey, Base.HBTKey); var psdConverted = GetPreparedPasswords(Base.PassGroup.ToList()); int wrote = Psd.WritePasswords(psdConverted); var result = wrote == psdConverted.Count(); if (result) { LastUpdated = DateTime.Now; } return(result); }