public void ChangePassword(IHostPwEntry hostPwEntry, string newPassword)
 {
     passwordChanger.ChangePassword(hostPwEntry.IPAddress, hostPwEntry.GetUsername(), hostPwEntry.GetPassword(), newPassword);
     hostPwEntry.UpdatePassword(newPassword);
 }
 public void ChangePassword(IHostPwEntry hostPwEntry, string newPassword)
 {
     passwordChanger.ChangePassword(hostPwEntry.IPAddress, hostPwEntry.GetUsername(), hostPwEntry.GetPassword(), newPassword);
     hostPwEntry.UpdatePassword(newPassword);
     hostPwEntry.LastModificationTime = this.clock.Now;
 }