Beispiel #1
0
 /// <summary>
 /// Encrypt an entry.
 /// </summary>
 /// <param name="entry">Entry to encrypt.</param>
 /// <param name="index">Current index.</param>
 public string Encrypt(PasswordEntry entry, int index)
 {
     throw new NotImplementedException();
 }
Beispiel #2
0
        /// <summary>
        /// Add a new entry to the file.
        /// </summary>
        /// <param name="password">Password of the entry.</param>
        /// <param name="website">Website of the entry.</param>
        /// <param name="note">Note of the entry.</param>
        public void Add(string password, string website, string note)
        {
            PasswordEntry entry = new PasswordEntry(password, website, note);

            Add(entry);
        }
Beispiel #3
0
 /// <summary>
 /// Remove an entry from the file.
 /// </summary>
 /// <param name="entry">Entry to remove.</param>
 public void Remove(PasswordEntry entry)
 {
     entries.Remove(entry);
 }
Beispiel #4
0
 /// <summary>
 /// Add an existing entry to the file.
 /// </summary>
 /// <param name="entry">Existing entry to add.</param>
 public void Add(PasswordEntry entry)
 {
     entries.Add(entry);
 }